public function __construct($name = null, NamingDirectoryInterface $parent = null) { // initialize the members $this->parent = $parent; $this->name = $name; $this->directory = null; // create a UUID as prefix for dynamic object properties $this->serial = Uuid::uuid4()->toString(); }