src/Valkyrja/Filesystem/FlyFilesystem.php
public function setVisibility(string $path, Visibility $visibility): bool
    {
        return $this->flySystem->setVisibility($path, $visibility->getValue());
    }
public function setVisibility(string $path, Visibility $visibility): bool
    {
        return $this->flySystem->setVisibility($path, $visibility->getValue());
    }
Set a file's visibility.

@param string     $path       The path
@param Visibility $visibility The visibility

@return bool