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

        if ($this->exists == null) {
            $this->exists = file_exists($this->getAbsoluteFilePath());
        }

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

        if ($this->exists == null) {
            $this->exists = file_exists($this->getAbsoluteFilePath());
        }

        return $this->exists;
    }
public function exists ( ) : bool { if ( $ this -> caching == false ) { return file_exists ( $ this -> getAbsoluteFilePath ( ) ) ; } if ( $ this -> exists == null ) { $ this -> exists = file_exists ( $ this -> getAbsoluteFilePath ( ) ) ; } return $ this -> exists ; }
Returns true if the file exists; otherwise returns false.
@return boolean
Returns true if the file exists ; otherwise returns false .