Beispiel #1
0
 /**
  * Construct config with REST reader & route factory.
  *
  * @param Mage_Webapi_Model_Config_Reader_Rest $reader
  * @param Mage_Webapi_Helper_Config $helper
  * @param Mage_Core_Model_App $app
  * @param Magento_Controller_Router_Route_Factory $routeFactory
  */
 public function __construct(Mage_Webapi_Model_Config_Reader_Rest $reader, Mage_Webapi_Helper_Config $helper, Mage_Core_Model_App $app, Magento_Controller_Router_Route_Factory $routeFactory)
 {
     parent::__construct($reader, $helper, $app);
     $this->_routeFactory = $routeFactory;
 }
Beispiel #2
0
 /**
  * Initialize dependencies.
  *
  * @param Mage_Webapi_Model_Config_Reader_Soap $reader
  * @param Mage_Webapi_Helper_Config $helper
  * @param Mage_Core_Model_App $app
  */
 public function __construct(Mage_Webapi_Model_Config_Reader_Soap $reader, Mage_Webapi_Helper_Config $helper, Mage_Core_Model_App $app)
 {
     parent::__construct($reader, $helper, $app);
 }