3 declare(strict_types=1);
84 if (is_null($this->field)) {
86 $data = $this->
raw(self::FIELD_FIELD);
90 $this->field = (string) $data;
102 if (is_null($this->boost)) {
104 $data = $this->
raw(self::FIELD_BOOST);
105 if (is_null($data)) {
108 $this->boost = (float) $data;
122 if (is_null($this->fieldType)) {
124 $data = $this->
raw(self::FIELD_FIELD_TYPE);
125 if (is_null($data)) {
128 $this->fieldType = (string) $data;
140 if (is_null($this->value)) {
142 $data = $this->
raw(self::FIELD_VALUE);
143 if (is_null($data)) {
146 $this->value = $data;
160 if (is_null($this->language)) {
162 $data = $this->
raw(self::FIELD_LANGUAGE);
163 if (is_null($data)) {
166 $this->language = (string) $data;
178 if (is_null($this->mustMatch)) {
180 $data = $this->
raw(self::FIELD_MUST_MATCH);
181 if (is_null($data)) {
184 $this->mustMatch = (string) $data;
setLanguage(?string $language)
setFieldType(?string $fieldType)
__construct(?string $field=null, ?float $boost=null, ?string $fieldType=null, $value=null, ?string $language=null, ?string $mustMatch=null)
setMustMatch(?string $mustMatch)