You are here

public function JsonApiParamEnhancer::__construct in JSON:API 8

File

src/Routing/JsonApiParamEnhancer.php, line 44

Class

JsonApiParamEnhancer
Processes the request query parameters.

Namespace

Drupal\jsonapi\Routing

Code

public function __construct(DenormalizerInterface $filter_normalizer, DenormalizerInterface $sort_normalizer, DenormalizerInterface $page_normalizer) {
  $this->filterNormalizer = $filter_normalizer;
  $this->sortNormalizer = $sort_normalizer;
  $this->pageNormalizer = $page_normalizer;
}