PHP 인터페이스 Equip\Formatter\FormatterInterface

파일 보기 프로젝트 열기: equip/framework

공개 메소드들

메소드 설명
accepts ( ) : array Get the content types this formatter can satisfy.
body ( Equip\Adr\PayloadInterface $payload ) : string Get the response body from the payload.
type ( ) : string Get the content type of the response body.

메소드 상세

accepts() 공개 정적인 메소드

Get the content types this formatter can satisfy.
public static accepts ( ) : array
리턴 array

body() 공개 메소드

Get the response body from the payload.
public body ( Equip\Adr\PayloadInterface $payload ) : string
$payload Equip\Adr\PayloadInterface
리턴 string

type() 공개 메소드

Get the content type of the response body.
public type ( ) : string
리턴 string