/** * 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(); }
/** * Itemgroupadmin constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->db = $serviceManager->get('db'); }