| @@ 80-96 (lines=17) @@ | ||
| 77 | * @param IConfig $config |
|
| 78 | * @param EventDispatcherInterface $dispatcher |
|
| 79 | */ |
|
| 80 | public function __construct( |
|
| 81 | DbHandler $dbHandler, |
|
| 82 | IClientService $httpClientService, |
|
| 83 | ILogger $logger, |
|
| 84 | IJobList $jobList, |
|
| 85 | ISecureRandom $secureRandom, |
|
| 86 | IConfig $config, |
|
| 87 | EventDispatcherInterface $dispatcher |
|
| 88 | ) { |
|
| 89 | $this->dbHandler = $dbHandler; |
|
| 90 | $this->httpClientService = $httpClientService; |
|
| 91 | $this->logger = $logger; |
|
| 92 | $this->jobList = $jobList; |
|
| 93 | $this->secureRandom = $secureRandom; |
|
| 94 | $this->config = $config; |
|
| 95 | $this->dispatcher = $dispatcher; |
|
| 96 | } |
|
| 97 | ||
| 98 | /** |
|
| 99 | * add server to the list of trusted servers |
|
| @@ 65-82 (lines=18) @@ | ||
| 62 | * @param UpdateChecker $updateChecker |
|
| 63 | * @param IDateTimeFormatter $dateTimeFormatter |
|
| 64 | */ |
|
| 65 | public function __construct($appName, |
|
| 66 | IRequest $request, |
|
| 67 | IJobList $jobList, |
|
| 68 | ISecureRandom $secureRandom, |
|
| 69 | IConfig $config, |
|
| 70 | ITimeFactory $timeFactory, |
|
| 71 | IL10N $l10n, |
|
| 72 | UpdateChecker $updateChecker, |
|
| 73 | IDateTimeFormatter $dateTimeFormatter) { |
|
| 74 | parent::__construct($appName, $request); |
|
| 75 | $this->jobList = $jobList; |
|
| 76 | $this->secureRandom = $secureRandom; |
|
| 77 | $this->config = $config; |
|
| 78 | $this->timeFactory = $timeFactory; |
|
| 79 | $this->l10n = $l10n; |
|
| 80 | $this->updateChecker = $updateChecker; |
|
| 81 | $this->dateTimeFormatter = $dateTimeFormatter; |
|
| 82 | } |
|
| 83 | ||
| 84 | /** |
|
| 85 | * @return TemplateResponse |
|
| @@ 76-94 (lines=19) @@ | ||
| 73 | * @param IL10N $l |
|
| 74 | * @param IRootFolder $rootFolder |
|
| 75 | */ |
|
| 76 | public function __construct( |
|
| 77 | $appName, |
|
| 78 | IRequest $request, |
|
| 79 | IConfig $config, |
|
| 80 | Template $template, |
|
| 81 | Util $util, |
|
| 82 | ITimeFactory $timeFactory, |
|
| 83 | IL10N $l, |
|
| 84 | IRootFolder $rootFolder |
|
| 85 | ) { |
|
| 86 | parent::__construct($appName, $request); |
|
| 87 | ||
| 88 | $this->template = $template; |
|
| 89 | $this->util = $util; |
|
| 90 | $this->timeFactory = $timeFactory; |
|
| 91 | $this->l = $l; |
|
| 92 | $this->config = $config; |
|
| 93 | $this->rootFolder = $rootFolder; |
|
| 94 | } |
|
| 95 | ||
| 96 | /** |
|
| 97 | * @param string $setting |
|