/** * Initialize * * @param type $stdout * @param type $stderr * @param type $stdin */ public function __construct($stdout = null, $stderr = null, $stdin = null) { parent::__construct($stdout, $stderr, $stdin); $this->_CroogoPlugin = new CroogoPlugin(); $this->_CroogoTheme = new CroogoTheme(); $CakeRequest = new CakeRequest(); $CakeResponse = new CakeResponse(); $this->_Controller = new AppController($CakeRequest, $CakeResponse); $this->_Controller->constructClasses(); $this->_Controller->startupProcess(); $this->_CroogoPlugin->setController($this->_Controller); $this->initialize(); }