classes/phing/system/io/PhingFile.php
public function getParentFile()
    {
        $p = $this->getParent();
        if ($p === null) {
            return null;
        }

        return new PhingFile((string) $p, (int) $this->prefixLength);
    }
public function getParentFile()
    {
        $p = $this->getParent();
        if ($p === null) {
            return null;
        }

        return new PhingFile((string) $p, (int) $this->prefixLength);
    }
public function getParentFile ( ) { $ p = $ this -> getParent ( ) ; if ( $ p === null ) { return null ; } return new PhingFile ( ( string ) $ p , ( int ) $ this -> prefixLength ) ; }
Returns the abstract pathname of this abstract pathname's parent,
or null if this pathname does not name a parent directory.

The parent of an abstract pathname consists of the pathname's prefix,
if any, and each name in the pathname's name sequence except for the
last.  If the name sequence is empty then the pathname does not name
a parent directory.

@return PhingFile|null The abstract pathname of the parent directory named by this
abstract pathname, or null if this pathname
does not name a parent
Returns the abstract pathname of this abstract pathname s parent or null if this pathname does not name a parent directory .