Functional\Tests\MagicGetException::__get PHP Метод

__get() публичный Метод

public __get ( $propertyName )
    public function __get($propertyName)
    {
        if ($this->throwExceptionInGet) {
            throw new \DomainException('__get exception: ' . $propertyName);
        }
        return "value";
    }