$container
$container : \Pimple\Container
Container
Not Found Handler
Enhanced version of \Slim\Handlers\NotAllowed.
It outputs a simple message 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
__invoke(\Psr\Http\Message\ServerRequestInterface $request, \Psr\Http\Message\ResponseInterface $response) : \Psr\Http\Message\ResponseInterface
Invoke "Not Found" Handler
| \Psr\Http\Message\ServerRequestInterface | $request | The most recent Request object. |
| \Psr\Http\Message\ResponseInterface | $response | The most recent Response object. |