Jarves\Twig\NodeUrlExtension::getFunctions PHP Метод

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

public getFunctions ( )
    public function getFunctions()
    {
        return array('currentUrl' => new \Twig_SimpleFunction('currentUrl', [$this, 'getUrl']), 'class_when_uri' => new \Twig_SimpleFunction('class_when_uri', [$this, 'classWhenUri']), 'class_when_route_starts' => new \Twig_SimpleFunction('class_when_route_starts', [$this, 'classWhenRouteStarts']), 'class_when_route' => new \Twig_SimpleFunction('class_when_route', [$this, 'classWhenRoute']), 'is_uri' => new \Twig_SimpleFunction('is_uri', [$this, 'isUri']));
    }