public function __construct($type = '', DescriptionNode $description = null, StorageNode $storage = null) { // initialize the UUID $this->setUuid($this->newUuid()); // set the data $this->type = $type; $this->description = $description; $this->storage = $storage; }