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

Inheritance: extends Twig_Environment
Datei anzeigen Open project: phalcon/incubator Class Usage Examples

Protected Properties

Property Type Description
$di Phalcon\DiInterface Internal dependency injector.

Public Methods

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

Method Details

__construct() public method

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

getDi() public method

Returns the internal dependency injector.
public getDi ( ) : Phalcon\DiInterface
return Phalcon\DiInterface

Property Details

$di protected_oe property

Internal dependency injector.
protected DiInterface,Phalcon $di
return Phalcon\DiInterface