public function __construct($name) { parent::__construct(); $this->name = $name; $this->metadata = new Nullable(); }