Lines Matching refs:array
28 * @var array|null
30 protected ?array $array = null;
34 * @param null|array $value
41 $this->array = $value;
45 throw new ExceptionCompile("The value is not an array. Value: " . var_export($value, true));
47 $this->array = $value;
56 public function getValue(): array
59 if ($this->array === null) {
62 return $this->array;
73 public function getValueOrDefaults(): array
85 return $this->array !== null;
91 if ($this->array === null) {
94 return implode($this->getStringSeparator(), $this->array);
133 $this->array = $values;
140 protected function toArrayOrNull($value): ?array
160 throw new ExceptionBadArgument("The value for $this is not an array, nor a string (value: $value)", get_class($this));
171 $this->array = $this->toArrayOrNull($value);