Exemple #1
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->afterInit('loader', $this->_initTwigLoader());
     $this->beforeInit('renderer', $this->_injectTwigLoader());
     $this->afterInit('renderer', $this->_initTwigRenderer());
 }
Exemple #2
0
 public function __construct($options = array())
 {
     parent::__construct($options);
     $this->afterInit('renderer', $this->_initSmarty());
 }