public function __toString() : string { $value = $this->getValue(); if (!\is_array($value)) { return (string) $value; } return \sprintf('%s (count=%d)', $this->getType(), \count($value)); }