| @@ 55-73 (lines=19) @@ | ||
| 52 | * @param DownloadService $downloadService |
|
| 53 | * @param ILogger $logger |
|
| 54 | */ |
|
| 55 | public function __construct( |
|
| 56 | $appName, |
|
| 57 | IRequest $request, |
|
| 58 | IURLGenerator $urlGenerator, |
|
| 59 | SearchFolderService $searchFolderService, |
|
| 60 | ConfigService $configService, |
|
| 61 | SearchMediaService $searchMediaService, |
|
| 62 | DownloadService $downloadService, |
|
| 63 | ILogger $logger |
|
| 64 | ) { |
|
| 65 | parent::__construct($appName, $request); |
|
| 66 | ||
| 67 | $this->urlGenerator = $urlGenerator; |
|
| 68 | $this->searchFolderService = $searchFolderService; |
|
| 69 | $this->configService = $configService; |
|
| 70 | $this->searchMediaService = $searchMediaService; |
|
| 71 | $this->downloadService = $downloadService; |
|
| 72 | $this->logger = $logger; |
|
| 73 | } |
|
| 74 | ||
| 75 | /** |
|
| 76 | * @NoAdminRequired |
|
| @@ 56-76 (lines=21) @@ | ||
| 53 | * @param EventSource $eventSource |
|
| 54 | * @param ILogger $logger |
|
| 55 | */ |
|
| 56 | public function __construct( |
|
| 57 | $appName, |
|
| 58 | IRequest $request, |
|
| 59 | IURLGenerator $urlGenerator, |
|
| 60 | ConfigService $configService, |
|
| 61 | ThumbnailService $thumbnailService, |
|
| 62 | PreviewService $previewService, |
|
| 63 | DownloadService $downloadService, |
|
| 64 | EventSource $eventSource, |
|
| 65 | ILogger $logger |
|
| 66 | ) { |
|
| 67 | parent::__construct($appName, $request); |
|
| 68 | ||
| 69 | $this->urlGenerator = $urlGenerator; |
|
| 70 | $this->configService = $configService; |
|
| 71 | $this->thumbnailService = $thumbnailService; |
|
| 72 | $this->previewService = $previewService; |
|
| 73 | $this->downloadService = $downloadService; |
|
| 74 | $this->eventSource = $eventSource; |
|
| 75 | $this->logger = $logger; |
|
| 76 | } |
|
| 77 | ||
| 78 | /** |
|
| 79 | * @NoAdminRequired |
|