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

        if ($this->isDir == null) {
            $this->isDir = is_dir($this->getAbsoluteFilePath());
        }

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

        if ($this->isDir == null) {
            $this->isDir = is_dir($this->getAbsoluteFilePath());
        }

        return $this->isDir;
    }
public function isDir ( ) : bool { if ( $ this -> caching == false ) { return is_dir ( $ this -> getAbsoluteFilePath ( ) ) ; } if ( $ this -> isDir == null ) { $ this -> isDir = is_dir ( $ this -> getAbsoluteFilePath ( ) ) ; } return $ this -> isDir ; }
Returns true if this object points to a directory or to a symbolic link
to a directory; otherwise returns false.

@return boolean
Returns true if this object points to a directory or to a symbolic link to a directory ; otherwise returns false .