Xpressengine\Storage\File::getPathname PHP Method

getPathname() public method

Get a path name of file
public getPathname ( ) : string
return string
    public function getPathname()
    {
        return rtrim($this->getAttribute('path'), '/') . '/' . $this->getAttribute('filename');
    }

Usage Example

 /**
  * check exists a file
  *
  * @param File $file file instance
  * @return bool
  */
 public function exists(File $file)
 {
     return $this->getDisk($file->disk)->exists($file->getPathname());
 }
All Usage Examples Of Xpressengine\Storage\File::getPathname