src/CodeGeneration/Filesystem/AbstractFilesystemItem.php
public function exists(): bool
    {
        $realPath = \realpath($this->path);
        if (false === $realPath) {
            return false;
        }
        $this->path = $realPath;
        $this->assertCorrectType();

        return true;
    }
public function exists(): bool
    {
        $realPath = \realpath($this->path);
        if (false === $realPath) {
            return false;
        }
        $this->path = $realPath;
        $this->assertCorrectType();

        return true;
    }
public function exists ( ) : bool { $ realPath = \ realpath ( $ this -> path ) ; if ( false === $ realPath ) { return false ; } $ this -> path = $ realPath ; $ this -> assertCorrectType ( ) ; return true ; }
Check if something exists at the real path

@return bool
Check if something exists at the real path