public function __construct($name, $basePath) { $this->id = uniqid(); $this->name = $name; $this->basePath = $basePath; }