public function visibility(string $path): ? string
    {
        $visibility = $this->flySystem->getVisibility($path);

        return false !== $visibility ? $visibility : null;
    }
public function visibility(string $path): ? string
    {
        $visibility = $this->flySystem->getVisibility($path);

        return false !== $visibility ? $visibility : null;
    }
public function visibility ( string $ path ) : ? string { $ visibility = $ this -> flySystem -> getVisibility ( $ path ) ; return false !== $ visibility ? $ visibility : null ; }
Get a file's visibility.

@param string $path The path

@throws \League\Flysystem\FileNotFoundException

@return string|null
The visibility ('public' or 'private') or null on failure
Get a file s visibility .