Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Tells whether the filename is writable
Alias is_writeable
is_writable(string $filename): bool
    public function isWritable($path)

    {

        return 
is_writable($path);

    }
    protected function write(array $manifest)

    {

        if (! 
is_writable($dirname dirname($this->manifestPath))) {

            throw new 
Exception("The {$dirname} directory must be present and writable.");

        }
    public function writeManifest($manifest)

    {

        if (! 
is_writable($dirname dirname($this->manifestPath))) {

            throw new 
Exception("The {$dirname} directory must be present and writable.");

        }