\Pop\ModuleModuleInterface

Pop router interface

Summary

Methods
Constants
setName()
getName()
hasName()
registerConfig()
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

registerConfig()

registerConfig(mixed  $config) : \Pop\Module\Module

Register a configuration with the module object

Parameters

mixed $config

Throws

\InvalidArgumentException

Returns

\Pop\Module\Module