| @@ 62-71 (lines=10) @@ | ||
| 59 | * @param TemplatesService $templatesService |
|
| 60 | * @param MiscService $miscService |
|
| 61 | */ |
|
| 62 | function __construct( |
|
| 63 | IRequest $request, IURLGenerator $urlGenerator, ConfigService $configService, |
|
| 64 | TemplatesService $templatesService, MiscService $miscService |
|
| 65 | ) { |
|
| 66 | parent::__construct(Application::APP_NAME, $request); |
|
| 67 | $this->urlGenerator = $urlGenerator; |
|
| 68 | $this->configService = $configService; |
|
| 69 | $this->templatesService = $templatesService; |
|
| 70 | $this->miscService = $miscService; |
|
| 71 | } |
|
| 72 | ||
| 73 | ||
| 74 | /** |
|
| @@ 67-78 (lines=12) @@ | ||
| 64 | * @param WebsitesService $websitesService |
|
| 65 | * @param MiscService $miscService |
|
| 66 | */ |
|
| 67 | function __construct( |
|
| 68 | IRequest $request, $userId, ConfigService $configService, TemplatesService $templatesService, |
|
| 69 | WebsitesService $websitesService, |
|
| 70 | MiscService $miscService |
|
| 71 | ) { |
|
| 72 | parent::__construct(Application::APP_NAME, $request); |
|
| 73 | $this->userId = $userId; |
|
| 74 | $this->configService = $configService; |
|
| 75 | $this->templatesService = $templatesService; |
|
| 76 | $this->websitesService = $websitesService; |
|
| 77 | $this->miscService = $miscService; |
|
| 78 | } |
|
| 79 | ||
| 80 | ||
| 81 | /** |
|