public function __construct($file, $path, $url) { $this->file = (string) $file; $this->path = (string) $path; $this->url = (string) $url; }