cloud_bbb/lib/Controller/PageController.php

27 lines
570 B
PHP

<?php
namespace OCA\BigBlueButton\Controller;
use OCA\BigBlueButton\TemplateProvider;
use OCP\AppFramework\Controller;
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
*/
public function index() {
return $this->templateProvider->getManager();
}
}