コード例 #1
0
 public function __construct(HostRepository $hostRepository, CommandRepository $commandRepository, ContactRepository $contactRepository, Database $db)
 {
     parent::__construct($db);
     $this->hostRepository = $hostRepository;
     $this->commandRepository = $commandRepository;
     $this->contactRepository = $contactRepository;
 }
コード例 #2
0
 public function __construct(EventDispatcherInterface $dispatcher, TimePeriodRepository $timePeriodRepository, CommandRepository $commandRepository, UserRepositoryInterface $userRepository, Database $db)
 {
     parent::__construct($db);
     $this->dispatcher = $dispatcher;
     $this->timePeriodRepository = $timePeriodRepository;
     $this->commandRepository = $commandRepository;
     $this->userRepository = $userRepository;
 }
コード例 #3
0
ファイル: HostRepository.php プロジェクト: devture/nagadmin
 public function __construct(EventDispatcherInterface $dispatcher, Database $db)
 {
     $this->dispatcher = $dispatcher;
     parent::__construct($db);
 }