PHP Interface Sulu\Component\Webspace\Analyzer\Attributes\RequestProcessorInterface

Mostrar archivo Open project: sulu/sulu

Public Methods

Method Description
process ( Request $request, RequestAttributes $requestAttributes ) : RequestAttributes Returns request attributes for given request.
validate ( RequestAttributes $attributes ) : boolean Validate the given attributes and return true if it is valid, if not throw a specific exception.

Method Details

process() public method

Returns request attributes for given request.
public process ( Request $request, RequestAttributes $requestAttributes ) : RequestAttributes
$request Symfony\Component\HttpFoundation\Request
$requestAttributes RequestAttributes
return RequestAttributes

validate() public method

Validate the given attributes and return true if it is valid, if not throw a specific exception.
public validate ( RequestAttributes $attributes ) : boolean
$attributes RequestAttributes
return boolean