Class SimpleID\Base\RouteContentNegotiationEvent

extends BaseEvent
implements StoppableEventInterface
uses StoppableEventTrait

An event requesting content negotiation of a route.

The route can be obtained using the getRoute() method. This is typically used to store the alias for a named route under the FatFree Framework, although it can be used to store the route pattern as well.

The request body to be processed can be obtained from the getRequest() method.

If the listener is able to process the request, it should call the stopPropagation()

method to stop further processing.

Methods
Methods used from SimpleID\Util\Events\StoppableEventTrait
isPropagationStopped(), stopPropagation()
Properties
Properties used from SimpleID\Util\Events\StoppableEventTrait
$stopped