cloud_bbb/lib/Controller/PageController.php

27 lines
570 B
PHP
Raw Normal View History

<?php
namespace OCA\BigBlueButton\Controller;
2021-02-24 14:59:56 +01:00
use OCA\BigBlueButton\TemplateProvider;
use OCP\AppFramework\Controller;
2020-09-23 12:33:09 +02:00
use OCP\IRequest;
class PageController extends Controller {
2021-02-24 14:59:56 +01:00
/** @var TemplateProvider */
private $templateProvider;
2021-02-24 14:59:56 +01:00
public function __construct(string $appName, IRequest $request, TemplateProvider $templateProvider) {
parent::__construct($appName, $request);
2021-02-24 14:59:56 +01:00
$this->templateProvider = $templateProvider;
}
/**
* @NoAdminRequired
* @NoCSRFRequired
*/
public function index() {
2021-02-24 14:59:56 +01:00
return $this->templateProvider->getManager();
}
}