/** * * Post-construction tasks to complete object construction. * * @return void * */ protected function _postConstruct() { parent::_postConstruct(); if ($this->_config['username']) { $this->_username = $this->_config['username']; } if ($this->_config['password']) { $this->_password = $this->_config['password']; } }