PHP Class Phalcon\Mvc\View\Engine\Twig\Environment

Inheritance: extends Twig_Environment
Afficher le fichier Open project: phalcon/incubator Class Usage Examples

Protected Properties

Свойство Type Description
$di Phalcon\DiInterface Internal dependency injector.

Méthodes publiques

Méthode Description
__construct ( Phalcon\DiInterface $di, Twig_LoaderInterface $loader = null, array $options = [] )
getDi ( ) : Phalcon\DiInterface Returns the internal dependency injector.

Method Details

__construct() public méthode

public __construct ( Phalcon\DiInterface $di, Twig_LoaderInterface $loader = null, array $options = [] )
$di Phalcon\DiInterface
$loader Twig_LoaderInterface
$options array

getDi() public méthode

Returns the internal dependency injector.
public getDi ( ) : Phalcon\DiInterface
Résultat Phalcon\DiInterface

Property Details

$di protected_oe property

Internal dependency injector.
protected DiInterface,Phalcon $di
Résultat Phalcon\DiInterface