PHPDaemon\DNode\DNode::__call PHP Method

__call() public method

Magic __call method
public __call ( string $method, array $args ) : mixed
$method string Method name
$args array Arguments
return mixed
    public function __call($method, $args)
    {
        if (strncmp($method, 'remote_', 7) === 0) {
            $this->callRemoteArray(substr($method, 7), $args);
        } elseif ($this->magicCallParent) {
            return parent::__call($method, $args);
        } else {
            throw new UndefinedMethodCalled('Call to undefined method ' . get_class($this) . '->' . $method);
        }
    }