public function initialize(array $options) { $this->Controller = $this->_registry->getController(); if ($this->config('auth')) { $this->Controller->loadComponent('Auth', $this->config('auth')); } }