コード例 #1
0
ファイル: Itemadmin.php プロジェクト: haaseit/hcsf
 /**
  * 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.php プロジェクト: haaseit/hcsf
 /**
  * Itemgroupadmin constructor.
  * @param ServiceManager $serviceManager
  */
 public function __construct(ServiceManager $serviceManager)
 {
     parent::__construct($serviceManager);
     $this->db = $serviceManager->get('db');
 }