PHP Class Raml\Validator\RequestValidator

ファイルを表示 Open project: alecsammon/php-raml-parser

Public Methods

Method Description
__construct ( ValidatorSchemaHelper $schema )
validateRequest ( Psr\Http\Message\RequestInterface $request )

Private Methods

Method Description
assertNoMissingParameters ( Psr\Http\Message\RequestInterface $request )
assertValidBody ( Psr\Http\Message\RequestInterface $request )
assertValidParameters ( Psr\Http\Message\RequestInterface $request )
getRequestParameters ( Psr\Http\Message\RequestInterface $request ) : array
getSchemaErrorsAsString ( array $errors ) : string

Method Details

__construct() public method

public __construct ( ValidatorSchemaHelper $schema )
$schema ValidatorSchemaHelper

validateRequest() public method

public validateRequest ( Psr\Http\Message\RequestInterface $request )
$request Psr\Http\Message\RequestInterface