public function __construct($name, $attributes = null) { $di = \Phalcon\Di::getDefault(); $this->_csrf = $di['csrf']; parent::__construct($name, $attributes); }