DataSift\Storyplayer\BrowserLib\SingleElementAction::__call PHP Метод

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

public __call ( string $methodName, array $methodArgs ) : mixed
$methodName string
$methodArgs array
Результат mixed
    public function __call($methodName, $methodArgs)
    {
        // retrieve the element, using the fake method name to figure out
        // which element the caller is looking for
        $element = $this->retrieveElement($methodName, $methodArgs);
        // now that we have our element, let's apply the action to it
        $action = $this->action;
        $return = $action($element, $methodArgs[0], $methodName);
        // all done
        return $return;
    }
SingleElementAction