\Pop\ModuleModuleInterface

Pop router interface

Summary

Methods
Constants
setName()
getName()
hasName()
setVersion()
getVersion()
hasVersion()
application()
isRegistered()
register()
No constants found
No protected methods found
N/A
No private methods found
N/A

Methods

setName()

setName(string  $name) : \Pop\Module\ModuleInterface

Set module name

Parameters

string $name

Returns

\Pop\Module\ModuleInterface

getName()

getName() : string

Get module name

Returns

string

hasName()

hasName() : boolean

Determine if module has name

Returns

boolean

setVersion()

setVersion(string  $version) : \Pop\Module\ModuleInterface

Set module version

Parameters

string $version

Returns

\Pop\Module\ModuleInterface

getVersion()

getVersion() : string

Get module version

Returns

string

hasVersion()

hasVersion() : boolean

Determine if module has version

Returns

boolean

application()

application() : \Pop\Application

Get application

Returns

\Pop\Application

isRegistered()

isRegistered() : boolean

Determine if the module has been registered with an application object

Returns

boolean