size = $size; $this->contents = $contents; } public function getSize(): int { return $this->size; } /** @psalm-return AbstractValue[] */ public function getContents() { return $this->contents; } public function getDisplaySize(): string { return (string) $this->size; } public function getDisplayChildren(): array { return $this->contents; } }