public function __toString() { $components = $this->components; if ($this->directorySeparator === '\\') { $components = str_replace('/', '\\', $components); } return $this->drive . $components; }