/** * Pageadmin constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); /** @var \Zend\Diactoros\ServerRequest request */ $this->request = $serviceManager->get('request'); $this->post = $this->request->getParsedBody(); $this->get = $this->request->getQueryParams(); }
/** * Base constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->requireModuleCustomer = true; }
/** * DBStatus constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->db = $serviceManager->get('db'); $this->twig = $serviceManager->get('twig'); }
public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->textcats = $serviceManager->get('textcats'); }
/** * Index constructor. * @param ServiceManager $serviceManager */ public function __construct(ServiceManager $serviceManager) { parent::__construct($serviceManager); $this->requireAdminAuthAdminHome = true; }