public function init() { parent::init(); $this->app->getContainer()->register('view', array($this, 'getTwigView')); }