PHP 클래스 Imbo\Resource\Metadata

저자: Christer Edvartsen ([email protected])
상속: implements Imbo\Resource\ResourceInterface
파일 보기 프로젝트 열기: imbo/imbo 1 사용 예제들

공개 메소드들

메소드 설명
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

메소드 상세

delete() 공개 메소드

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

get() 공개 메소드

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

getAllowedMethods() 공개 메소드

public getAllowedMethods ( )

getSubscribedEvents() 공개 정적인 메소드

public static getSubscribedEvents ( )

post() 공개 메소드

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

put() 공개 메소드

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

validateMetadata() 공개 메소드

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