/** * Initializes the client decorator. * * @param MShop_Context_Item_Interface $context Context object with required objects * @param array $templatePaths Associative list of the file system paths to the core or the extensions as key * and a list of relative paths inside the core or the extension as values * @param Client_Html_Interface $client Client object */ public function __construct(MShop_Context_Item_Interface $context, array $templatePaths, Client_Html_Interface $client) { parent::__construct($context, $templatePaths); $this->_client = $client; }
/** * Initializes the object instance * * @param MShop_Context_Item_Interface $context Context object with required objects * @param array $templatePaths Associative list of the file system paths to the core or the extensions as key * and a list of relative paths inside the core or the extension as values * @param Client_Html_Interface $client Client object */ public function __construct(MShop_Context_Item_Interface $context, array $templatePaths) { parent::__construct($context, $templatePaths); }