1<?php
2/*
3 * This file is part of Object Enumerator.
4 *
5 * (c) Sebastian Bergmann <sebastian@phpunit.de>
6 *
7 * For the full copyright and license information, please view the LICENSE
8 * file that was distributed with this source code.
9 */
10
11namespace SebastianBergmann\ObjectEnumerator\Fixtures;
12
13use RuntimeException;
14
15class ExceptionThrower
16{
17    private $property;
18
19    public function __construct()
20    {
21        unset($this->property);
22    }
23
24    public function __get($property)
25    {
26        throw new RuntimeException;
27    }
28}
29