PhpSpec\ObjectBehavior::__call PHP Method

__call() public method

Proxies all calls to the PhpSpec subject
public __call ( string $method, array $arguments = [] ) : mixed
$method string
$arguments array
return mixed
    public function __call($method, array $arguments = array())
    {
        return call_user_func_array(array($this->object, $method), $arguments);
    }