PhpSpec\ObjectBehavior::__get PHP Method

__get() public method

Proxies getting to the PhpSpec subject
public __get ( string $property ) : mixed
$property string
return mixed
    public function __get($property)
    {
        return $this->object->{$property};
    }