| @@ 59-75 (lines=17) @@ | ||
| 56 | /** @var TemplateManager */ |
|
| 57 | private $templateManager; |
|
| 58 | ||
| 59 | public function __construct($appName, |
|
| 60 | IRequest $request, |
|
| 61 | IRootFolder $rootFolder, |
|
| 62 | TokenManager $tokenManager, |
|
| 63 | DirectMapper $directMapper, |
|
| 64 | IConfig $config, |
|
| 65 | AppConfig $appConfig, |
|
| 66 | TemplateManager $templateManager) { |
|
| 67 | parent::__construct($appName, $request); |
|
| 68 | ||
| 69 | $this->rootFolder = $rootFolder; |
|
| 70 | $this->tokenManager = $tokenManager; |
|
| 71 | $this->directMapper = $directMapper; |
|
| 72 | $this->config = $config; |
|
| 73 | $this->appConfig = $appConfig; |
|
| 74 | $this->templateManager = $templateManager; |
|
| 75 | } |
|
| 76 | ||
| 77 | /** |
|
| 78 | * @NoAdminRequired |
|
| @@ 54-71 (lines=18) @@ | ||
| 51 | * @param string $userId |
|
| 52 | * @param CapabilitiesService $capabilitiesService |
|
| 53 | */ |
|
| 54 | public function __construct($appName, |
|
| 55 | IRequest $request, |
|
| 56 | IL10N $l10n, |
|
| 57 | AppConfig $appConfig, |
|
| 58 | IConfig $config, |
|
| 59 | DiscoveryManager $discoveryManager, |
|
| 60 | Parser $wopiParser, |
|
| 61 | $userId, |
|
| 62 | CapabilitiesService $capabilitiesService) { |
|
| 63 | parent::__construct($appName, $request); |
|
| 64 | $this->l10n = $l10n; |
|
| 65 | $this->appConfig = $appConfig; |
|
| 66 | $this->config = $config; |
|
| 67 | $this->discoveryManager = $discoveryManager; |
|
| 68 | $this->wopiParser = $wopiParser; |
|
| 69 | $this->userId = $userId; |
|
| 70 | $this->capabilitiesService = $capabilitiesService; |
|
| 71 | } |
|
| 72 | ||
| 73 | /** |
|
| 74 | * @PublicPage |
|