PHP Class Imbo\Resource\Metadata

Author: Christer Edvartsen ([email protected])
Inheritance: implements Imbo\Resource\ResourceInterface
Afficher le fichier Open project: imbo/imbo Class Usage Examples

Méthodes publiques

Méthode Description
delete ( Imbo\EventManager\EventInterface $event ) Handle DELETE requests
get ( Imbo\EventManager\EventInterface $event ) Handle GET requests
getAllowedMethods ( )
getSubscribedEvents ( )
post ( Imbo\EventManager\EventInterface $event ) Handle POST requests
put ( Imbo\EventManager\EventInterface $event ) Handle PUT requests
validateMetadata ( Imbo\EventManager\EventInterface $event ) Validate metadata found in the request body

Method Details

delete() public méthode

Handle DELETE requests
public delete ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

get() public méthode

Handle GET requests
public get ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getAllowedMethods() public méthode

public getAllowedMethods ( )

getSubscribedEvents() public static méthode

public static getSubscribedEvents ( )

post() public méthode

Handle POST requests
public post ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

put() public méthode

Handle PUT requests
public put ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

validateMetadata() public méthode

Validate metadata found in the request body
public validateMetadata ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The event instance