/** * Shoppingcart constructor. * @param \Zend\ServiceManager\ServiceManager $serviceManager */ public function __construct(\Zend\ServiceManager\ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->request = $this->serviceManager->get('request'); $this->textcats = $this->serviceManager->get('textcats'); $this->get = $this->request->getQueryParams(); $this->post = $this->request->getParsedBody(); }
/** * Sofortueberweisung constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->textcats = $serviceManager->get('textcats'); }
/** * Paypalnotify constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->db = $serviceManager->get('db'); }