PhpCsFixer\Test\AccessibleObject::__call PHP Method

__call() public method

public __call ( $name, array $arguments )
$arguments array
    public function __call($name, array $arguments)
    {
        if (!method_exists($this->object, $name)) {
            throw new \LogicException(sprintf('Cannot call non existing method %s->%s.', get_class($this->object), $name));
        }
        $method = $this->reflection->getMethod($name);
        $method->setAccessible(true);
        return $method->invokeArgs($this->object, $arguments);
    }