Méthode | Description | |
---|---|---|
__construct ( array $params ) | Class constructor | |
format ( Imbo\EventManager\EventInterface $event ) | Response send hook | |
getFormatter ( ) : string | Get the formatter | |
getSubscribedEvents ( ) | ||
negotiate ( Imbo\EventManager\EventInterface $event ) | Perform content negotiation by looking the the current URL and the Accept request header | |
setFormatter ( string $formatter ) : self | Set the formatter |
public format ( Imbo\EventManager\EventInterface $event ) | ||
$event | Imbo\EventManager\EventInterface | The current event |
public negotiate ( Imbo\EventManager\EventInterface $event ) | ||
$event | Imbo\EventManager\EventInterface | The event instance |
public setFormatter ( string $formatter ) : self | ||
$formatter | string | The formatter to set |
Résultat | self |