src/Parser/Checker.php
public function isValidAbsolutePath()
    {
        if (!Path::isAbsolute($this->string)) {
            return false;
        }

        if (!is_dir($this->string)) {
            return false;
        }

        return true;
    }
public function isValidAbsolutePath()
    {
        if (!Path::isAbsolute($this->string)) {
            return false;
        }

        if (!is_dir($this->string)) {
            return false;
        }

        return true;
    }
public function isValidAbsolutePath ( ) { if ( ! Path :: isAbsolute ( $ this -> string ) ) { return false ; } if ( ! is_dir ( $ this -> string ) ) { return false ; } return true ; }
Confirms if a string is an existing absolute path.

@return bool true if the string is an existing absolute path, false otherwise
Confirms if a string is an existing absolute path .