Пример #1
0
 /**
  * Itemadmin constructor.
  * @param ServiceManager $serviceManager
  */
 public function __construct(ServiceManager $serviceManager)
 {
     parent::__construct($serviceManager);
     $this->db = $serviceManager->get('db');
     $this->request = $serviceManager->get('request');
     $this->get = $this->request->getQueryParams();
     $this->post = $this->request->getParsedBody();
 }
Пример #2
0
 /**
  * Itemgroupadmin constructor.
  * @param ServiceManager $serviceManager
  */
 public function __construct(ServiceManager $serviceManager)
 {
     parent::__construct($serviceManager);
     $this->db = $serviceManager->get('db');
 }