createQueryParameters() публичный Метод

Create parameters.
public createQueryParameters ( string[] | null $includePaths = null, array $fieldSets = null, Neomerx\JsonApi\Contracts\Encoder\Parameters\SortParameterInterface[] | null $sortParameters = null, array $pagingParameters = null, array $filteringParameters = null, array $unrecognizedParams = null ) : Neomerx\JsonApi\Contracts\Encoder\Parameters\EncodingParametersInterface
$includePaths string[] | null
$fieldSets array
$sortParameters Neomerx\JsonApi\Contracts\Encoder\Parameters\SortParameterInterface[] | null
$pagingParameters array
$filteringParameters array
$unrecognizedParams array
Результат Neomerx\JsonApi\Contracts\Encoder\Parameters\EncodingParametersInterface
Пример #1
0
 /**
  * @inheritdoc
  */
 public function parse(ServerRequestInterface $request)
 {
     $parameters = $request->getQueryParams();
     return $this->factory->createQueryParameters($this->getIncludePaths($parameters), $this->getFieldSets($parameters), $this->getSortParameters($parameters), $this->getPagingParameters($parameters), $this->getFilteringParameters($parameters), $this->getUnrecognizedParameters($parameters));
 }