ModuleInterface
in
Pop router interface
Tags
Table of Contents
- application() : Application
- Get application
- getName() : string
- Get module name
- getVersion() : string
- Get module version
- hasName() : bool
- Determine if module has name
- hasVersion() : bool
- Determine if module has version
- isRegistered() : bool
- Determine if the module has been registered with an application object
- register() : ModuleInterface
- Register the module
- setName() : ModuleInterface
- Set module name
- setVersion() : ModuleInterface
- Set module version
Methods
application()
Get application
public
application() : Application
Return values
Application —getName()
Get module name
public
getName() : string
Return values
string —getVersion()
Get module version
public
getVersion() : string
Return values
string —hasName()
Determine if module has name
public
hasName() : bool
Return values
bool —hasVersion()
Determine if module has version
public
hasVersion() : bool
Return values
bool —isRegistered()
Determine if the module has been registered with an application object
public
isRegistered() : bool
Return values
bool —register()
Register the module
public
register(Application $application) : ModuleInterface
Parameters
- $application : Application
Return values
ModuleInterface —setName()
Set module name
public
setName(string $name) : ModuleInterface
Parameters
- $name : string
Return values
ModuleInterface —setVersion()
Set module version
public
setVersion(string $version) : ModuleInterface
Parameters
- $version : string