$config
$config : \Charcoal\App\Module\ConfigInterface
$routeManager : \Charcoal\App\Route\RouteManager
$app : \Charcoal\App\App
setApp(\Charcoal\App\App $app) : \Charcoal\App\AppAwareInterface
\Charcoal\App\App | $app | The app instance this object depends on. |
Chainable
setConfig(\Charcoal\Config\ConfigInterface|array $config) : \Charcoal\App\Module\AbstractModule
Set the module's config
\Charcoal\Config\ConfigInterface|array | $config | The module configuration. |
config(string $key = null) : \Charcoal\Config\ConfigInterface|mixed
Retrieve the module's configuration container, or one of its entry.
If a key is provided, return the configuration key value instead of the full object.
string | $key | Optional. If provided, the config key value will be returned, instead of the full object. |
If a config has not been defined.
setup() : \Charcoal\App\Module\AbstractModule
Setup the module's dependencies.
setupRoutes() : \Charcoal\App\Module\AbstractModule
Set up the module's routes, via a RouteManager
Chainable
app() : \Charcoal\App\App