$path
$path : string
URI path.
Event Route Handler
$event : \Charcoal\Cms\EventInterface|\Charcoal\Object\RoutableInterface
The event object matching the URI path.
__invoke(\Pimple\Container $container, \Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface $response) : \Psr\Http\Message\ResponseInterface
\Pimple\Container | $container | A DI (Pimple) container. |
\Psr\Http\Message\RequestInterface | $request | A PSR-7 compatible Request instance. |
\Psr\Http\Message\ResponseInterface | $response | A PSR-7 compatible Response instance. |
loadEventFromPath(\Pimple\Container $container) : \Charcoal\Cms\EventInterface
\Pimple\Container | $container | Pimple DI container. |