public function handle($path)
    {
        $file = $this->filesystem->getFile($path);

        return $this->filePermissions->authorized($file->getMountPoint(), $file->getPath());
    }
public function handle($path)
    {
        $file = $this->filesystem->getFile($path);

        return $this->filePermissions->authorized($file->getMountPoint(), $file->getPath());
    }
public function handle ( $ path ) { $ file = $ this -> filesystem -> getFile ( $ path ) ; return $ this -> filePermissions -> authorized ( $ file -> getMountPoint ( ) , $ file -> getPath ( ) ) ; }
Returns whether you are authorized to do something with a file or directory.

@param string $path

@return bool
Returns whether you are authorized to do something with a file or directory .