PHP Class CustomResource2, imbo

Inheritance: implements Imbo\Resource\ResourceInterface
Show file Open project: imbo/imbo

Public Methods

Method Description
get ( Imbo\EventManager\EventInterface $event ) Send a response
getAllowedMethods ( )
getSubscribedEvents ( )
put ( Imbo\EventManager\EventInterface $event ) Send a response to PUT requests

Method Details

get() public method

Send a response
public get ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event

getAllowedMethods() public method

public getAllowedMethods ( )

getSubscribedEvents() public static method

public static getSubscribedEvents ( )

put() public method

Send a response to PUT requests
public put ( Imbo\EventManager\EventInterface $event )
$event Imbo\EventManager\EventInterface The current event