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

        if ($this->isFile == null) {
            $this->isFile = is_file($this->getAbsoluteFilePath());
        }

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

        if ($this->isFile == null) {
            $this->isFile = is_file($this->getAbsoluteFilePath());
        }

        return $this->isFile;
    }
public function isFile ( ) : bool { if ( $ this -> caching == false ) { return is_file ( $ this -> getAbsoluteFilePath ( ) ) ; } if ( $ this -> isFile == null ) { $ this -> isFile = is_file ( $ this -> getAbsoluteFilePath ( ) ) ; } return $ this -> isFile ; }
Returns true if this object points to a file or to a symbolic link to a
file. Returns false if the object points to something which isn't a file,
such as a directory.

@return boolean
Returns true if this object points to a file or to a symbolic link to a file . Returns false if the object points to something which isn t a file such as a directory .