protected function _init() { parent::_init(); if ($this->_config['autoConnect']) { $this->connect(); } }
protected function _init() { $config = $this->_config; unset($config['type']); $this->connection = $this->_instance('service', $config); parent::_init(); }