function __construct(Services_Settings_Container $settings, Dao_Factory $daoFactory, SpotSecurity $spotSec) { $this->_settings = $settings; $this->_daoFactory = $daoFactory; $this->_spotSec = $spotSec; $this->_cacheDao = $daoFactory->getCacheDao(); $this->_svcTranslate = new Services_Translation_Microsoft($settings, $daoFactory->getCacheDao()); }
public function __construct(Dao_Factory $daoFactory, Services_Settings_Container $settings) { $this->_daoFactory = $daoFactory; $this->_settings = $settings; $this->_cacheDao = $daoFactory->getCacheDao(); $this->_httpProvider = new Services_Providers_Http($this->_cacheDao); }