Phalcon\Mvc\View\Engine\Twig\CoreExtension::getAssetsOutput PHP Метод

getAssetsOutput() защищенный Метод

Proxy method that handles return of assets instead of instant output.
protected getAssetsOutput ( Environment $env, string $method, string | null $options = null ) : string
$env Environment
$method string
$options string | null Assets CollectionName
Результат string
    protected function getAssetsOutput(Environment $env, $method, $options = null)
    {
        $env->getDi()->get('assets')->useImplicitOutput(false);
        $result = $env->getDi()->get('assets')->{$method}($options);
        $env->getDi()->get('assets')->useImplicitOutput(true);
        return $result;
    }