src/MFileInfo.php
public function isWritable(): bool
    {
        if ($this->caching == false) {
            return is_writable($this->getAbsoluteFilePath());
        }

        if ($this->isWritable == null) {
            $this->isWritable = is_writable($this->getAbsoluteFilePath());
        }

        return $this->isWritable;
    }
public function isWritable(): bool
    {
        if ($this->caching == false) {
            return is_writable($this->getAbsoluteFilePath());
        }

        if ($this->isWritable == null) {
            $this->isWritable = is_writable($this->getAbsoluteFilePath());
        }

        return $this->isWritable;
    }
public function isWritable ( ) : bool { if ( $ this -> caching == false ) { return is_writable ( $ this -> getAbsoluteFilePath ( ) ) ; } if ( $ this -> isWritable == null ) { $ this -> isWritable = is_writable ( $ this -> getAbsoluteFilePath ( ) ) ; } return $ this -> isWritable ; }
Returns true if the user can write to the file; otherwise returns false.

@return boolean
Returns true if the user can write to the file ; otherwise returns false .