classes/phing/Phing.php
private function _getParentFile(PhingFile $file)
    {
        $filename = $file->getAbsolutePath();
        $file = new PhingFile($filename);
        $filename = $file->getParent();

        return ($filename === null) ? null : new PhingFile($filename);
    }
private function _getParentFile(PhingFile $file)
    {
        $filename = $file->getAbsolutePath();
        $file = new PhingFile($filename);
        $filename = $file->getParent();

        return ($filename === null) ? null : new PhingFile($filename);
    }
private function _getParentFile ( PhingFile $ file ) { $ filename = $ file -> getAbsolutePath ( ) ; $ file = new PhingFile ( $ filename ) ; $ filename = $ file -> getParent ( ) ; return ( $ filename === null ) ? null : new PhingFile ( $ filename ) ; }
Helper to get the parent file for a given file.

@param PhingFile $file

@return PhingFile Parent file or null if none
Helper to get the parent file for a given file .