$this->postFilters =
$postFilters;
} /**
* @deprecated Use self::match()
*
* @return EnlightRequest
*/
public function route(EnlightRequest
$request) { /* For enlight routing */
$this->context->
updateFromEnlightRequest($request);
$params =
$this->
match($request->
getPathInfo(),
$this->context
);
if ($params !== false
) { /* For shopware routing (query === userParams) */
$request->
setQuery($params);
} /* For enlight routing */
$this->context->
updateFromEnlightRequest($request);
$this->context->
setParams([]);