PHP Class WoohooLabs\Yin\JsonApi\Negotiation\RequestValidator

Inheritance: extends AbstractMessageValidator
显示文件 Open project: woohoolabs/yin Class Usage Examples

Public Methods

Method Description
__construct ( WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, boolean $includeOriginalMessageInResponse = true )
lintBody ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )
negotiate ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )
validateQueryParams ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )

Method Details

__construct() public method

public __construct ( WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface $exceptionFactory, boolean $includeOriginalMessageInResponse = true )
$exceptionFactory WoohooLabs\Yin\JsonApi\Exception\ExceptionFactoryInterface
$includeOriginalMessageInResponse boolean

lintBody() public method

public lintBody ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface

negotiate() public method

public negotiate ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface

validateQueryParams() public method

public validateQueryParams ( WoohooLabs\Yin\JsonApi\Request\RequestInterface $request )
$request WoohooLabs\Yin\JsonApi\Request\RequestInterface