/** * @param string $name * @param string $model * @param Field[]|Query[] $fields * @param Location $location */ public function __construct($name, $model, array $fields, Location $location) { parent::__construct($location); $this->name = $name; $this->model = $model; $this->fields = $fields; }
/** * @param string $name * @param string $alias * @param array $arguments * @param Location $location */ public function __construct($name, $alias, $arguments, Location $location) { parent::__construct($location); $this->name = $name; $this->alias = $alias; $this->arguments = $arguments; }
/** * Query constructor. * * @param string $name * @param string $alias * @param array $arguments * @param array $fields * @param Location $location */ public function __construct($name, $alias = '', array $arguments, array $fields, Location $location) { parent::__construct($location); $this->name = $name; $this->alias = $alias; $this->arguments = $arguments; $this->fields = $fields; }
/** * @param string $name * @param string $type * @param bool $nullable * @param bool $isArray * @param Location $location */ public function __construct($name, $type, $nullable, $isArray, Location $location) { parent::__construct($location); $this->name = $name; $this->type = $type; $this->isArray = $isArray; $this->nullable = $nullable; }
/** * @param string $name * @param ValueInterface $value * @param Location $location */ public function __construct($name, ValueInterface $value, Location $location) { parent::__construct($location); $this->name = $name; $this->value = $value; }
/** * @param array $object * @param Location $location */ public function __construct(array $object, Location $location) { parent::__construct($location); $this->object = $object; }
/** * @param string $typeName * @param Field[]|Query[] $fields * @param Location $location */ public function __construct($typeName, array $fields, Location $location) { parent::__construct($location); $this->typeName = $typeName; $this->fields = $fields; }
/** * @param mixed $value * @param Location $location */ public function __construct($value, Location $location) { parent::__construct($location); $this->value = $value; }
/** * @param string $name * @param Location $location */ public function __construct($name, Location $location) { parent::__construct($location); $this->name = $name; }
/** * @param array $list * @param Location $location */ public function __construct(array $list, Location $location) { parent::__construct($location); $this->list = $list; }
/** * @param string $name * @param Variable|null $variable * @param Location $location */ public function __construct($name, Variable $variable = null, Location $location) { parent::__construct($location); $this->name = $name; $this->variable = $variable; }