classes/phing/system/io/PhingFile.php
public function canRead()
    {
        $fs = FileSystem::getFileSystem();

        if ($fs->checkAccess($this)) {
            return (boolean) @is_link($this->getAbsolutePath()) || @is_readable($this->getAbsolutePath());
        }

        return false;
    }
public function canRead()
    {
        $fs = FileSystem::getFileSystem();

        if ($fs->checkAccess($this)) {
            return (boolean) @is_link($this->getAbsolutePath()) || @is_readable($this->getAbsolutePath());
        }

        return false;
    }
public function canRead ( ) { $ fs = FileSystem :: getFileSystem ( ) ; if ( $ fs -> checkAccess ( $ this ) ) { return ( boolean ) @ is_link ( $ this -> getAbsolutePath ( ) ) || @ is_readable ( $ this -> getAbsolutePath ( ) ) ; } return false ; }
Tests whether the application can read the file denoted by this
abstract pathname.

@return boolean true if and only if the file specified by this
abstract pathname exists and can be read by the
application; false otherwise
Tests whether the application can read the file denoted by this abstract pathname .