public function __construct(HostRepository $hostRepository, CommandRepository $commandRepository, ContactRepository $contactRepository, Database $db) { parent::__construct($db); $this->hostRepository = $hostRepository; $this->commandRepository = $commandRepository; $this->contactRepository = $contactRepository; }
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; }
public function __construct(EventDispatcherInterface $dispatcher, Database $db) { $this->dispatcher = $dispatcher; parent::__construct($db); }