mirror of https://github.com/sualko/cloud_bbb
31 lines
669 B
PHP
31 lines
669 B
PHP
<?php
|
|
|
|
namespace OCA\BigBlueButton\Controller;
|
|
|
|
use OCA\BigBlueButton\TemplateProvider;
|
|
use OCP\AppFramework\Controller;
|
|
use OCP\AppFramework\Http\TemplateResponse;
|
|
use OCP\IRequest;
|
|
|
|
class PageController extends Controller {
|
|
/** @var TemplateProvider */
|
|
private $templateProvider;
|
|
|
|
public function __construct(string $appName, IRequest $request, TemplateProvider $templateProvider) {
|
|
parent::__construct($appName, $request);
|
|
|
|
$this->templateProvider = $templateProvider;
|
|
}
|
|
|
|
/**
|
|
* @NoAdminRequired
|
|
*
|
|
* @NoCSRFRequired
|
|
*
|
|
* @return TemplateResponse
|
|
*/
|
|
public function index(): TemplateResponse {
|
|
return $this->templateProvider->getManager();
|
|
}
|
|
}
|