You are here

public function Filter::__construct in JSON:API 8

Same name and namespace in other branches
  1. 8.2 src/Query/Filter.php \Drupal\jsonapi\Query\Filter::__construct()

Constructs a new Filter object.

Parameters

\Drupal\jsonapi\Query\EntityConditionGroup $root: An entity condition group which can be applied to an entity query.

File

src/Query/Filter.php, line 34

Class

Filter
Gathers information about the filter parameter.

Namespace

Drupal\jsonapi\Query

Code

public function __construct(EntityConditionGroup $root) {
  $this->root = $root;
}