$container
$container : \Pimple\Container
Container
Base Error Handler
Enhanced version Slim's error handlers.
It outputs messages in either JSON, XML or HTML based on the Accept header.
init() : \Charcoal\App\Handler\AbstractHandler
Initialize the AbstractHandler object.
Chainable
setDependencies(\Pimple\Container $container) : \Charcoal\App\Handler\AbstractHandler
Inject dependencies from a Pimple Container.
AppConfig $appConfig
— The application's configuration.UriInterface $baseUri
— A base URI.ViewInterface $view
— A view instance.\Pimple\Container | $container | A dependencies container instance. |
Chainable
setContainer(\Pimple\Container $container) : \Charcoal\App\Handler\AbstractHandler
Set container for use with the template controller
\Pimple\Container | $container | A dependencies container instance. |
Chainable
setBaseUrl(string|\Psr\Http\Message\UriInterface $url) : \Charcoal\App\Handler\AbstractHandler
Set the base URL (home page).
string|\Psr\Http\Message\UriInterface | $url | A URL to the base URL. |
Chainable