PHP Интерфейс ManaPHP\Mvc\ModuleInterface

Показать файл Открыть проект Примеры использования интерфейса

Открытые методы

Метод Описание
authorize ( string $controller, string $action ) : ManaPHP\Http\ResponseInterface | false | void
registerServices ( ManaPHP\DiInterface $dependencyInjector ) Registers services related to the module

Описание методов

authorize() публичный Метод

public authorize ( string $controller, string $action ) : ManaPHP\Http\ResponseInterface | false | void
$controller string
$action string
Результат ManaPHP\Http\ResponseInterface | false | void

registerServices() публичный Метод

Registers services related to the module
public registerServices ( ManaPHP\DiInterface $dependencyInjector )
$dependencyInjector ManaPHP\DiInterface