public function getPathname() { return rtrim($this->getAttribute('path'), '/') . '/' . $this->getAttribute('filename'); }
/** * check exists a file * * @param File $file file instance * @return bool */ public function exists(File $file) { return $this->getDisk($file->disk)->exists($file->getPathname()); }