library\App\View::__call PHP Method

__call() public method

Provides access to view helpers.
public __call ( string $method, array $args ) : mixed
$method string
$args array
return mixed
    public function __call($method, $args)
    {
        if (!isset($this->_helperCache[$method])) {
            $helper = $this->_helperManager->get($method);
            $helper->setView($this);
            $this->_helperCache[$method] = $helper;
        }
        return call_user_func_array($this->_helperCache[$method], $args);
    }