PHP 클래스 eZ\Publish\Core\REST\Common\Input\Dispatcher

파일 보기 프로젝트 열기: ezsystems/ezpublish-kernel 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$handlers array Structure: array( => , … )
$parsingDispatcher ParsingDispatcher

공개 메소드들

메소드 설명
__construct ( ParsingDispatcher $parsingDispatcher, array $handlers = [] ) Construct from optional parsers array.
addHandler ( string $type, Handler $handler ) Adds another handler for the given Content Type.
parse ( Message $message ) : mixed Parse provided request.

비공개 메소드들

메소드 설명
parseParameters ( $mediaTypePart )

메소드 상세

__construct() 공개 메소드

Construct from optional parsers array.
public __construct ( ParsingDispatcher $parsingDispatcher, array $handlers = [] )
$parsingDispatcher ParsingDispatcher
$handlers array

addHandler() 공개 메소드

Adds another handler for the given Content Type.
public addHandler ( string $type, Handler $handler )
$type string
$handler Handler

parse() 공개 메소드

Parse provided request.
public parse ( Message $message ) : mixed
$message eZ\Publish\Core\REST\Common\Message
리턴 mixed

프로퍼티 상세

$handlers 보호되어 있는 프로퍼티

Structure: array( => , … )
protected array $handlers
리턴 array

$parsingDispatcher 보호되어 있는 프로퍼티

protected ParsingDispatcher,eZ\Publish\Core\REST\Common\Input $parsingDispatcher
리턴 ParsingDispatcher