public function __construct(string $class, bool $nullable) { $this->class = $class; $this->nullable = $nullable; }