com\setasign\SetaSite\Module
ModuleInterface Interface ModuleInterface
File: /SetaSite/src/Module/ModuleInterface.php
You mustn't inject Users, Pages or SessionContext in the constructor and the last arguments must be: [Config $config]
Implemented in
Summary
Methods
getControllerName()
Must resolve $controllerName to a fully qualified class name. It doesn't matter whether the controller really exists.
Parameters
- $controllerName : string
getSession()
abstract public ModuleInterface::getSession (
void
): \com\setasign\SetaFramework\Session\SessionInterfaceReturns the session for the module.
lookupFile()
abstract public ModuleInterface::lookupFile (
string $filePath
): \com\setasign\SetaFramework\FileSystem\FileLookup a file for external access like css files.
Parameters
- $filePath : string
Exceptions
Throws \com\setasign\SetaSite\FileSystem\InvalidPathException
