public function path() { if (null === $this->parentPath) { return $this->name; } return $this->parentPath . '/' . $this->name; }