classes/phing/system/io/FileSystem.php
public function setLastModifiedTime(PhingFile $f, $time)
    {
        $path = $f->getPath();
        $success = @touch($path, $time);
        if (!$success) {
            throw new IOException("Could not touch '" . $path . "' due to: $php_errormsg");
        }
    }
public function setLastModifiedTime(PhingFile $f, $time)
    {
        $path = $f->getPath();
        $success = @touch($path, $time);
        if (!$success) {
            throw new IOException("Could not touch '" . $path . "' due to: $php_errormsg");
        }
    }
public function setLastModifiedTime ( PhingFile $ f , $ time ) { $ path = $ f -> getPath ( ) ; $ success = @ touch ( $ path , $ time ) ; if ( ! $ success ) { throw new IOException ( "Could not touch '" . $ path . "' due to: $php_errormsg" ) ; } }
Set the last-modified time of the file or directory denoted by the
given abstract pathname returning true if and only if the
operation succeeds.

@param  PhingFile $f
@param  int $time
@return void
@throws IOException
Set the last - modified time of the file or directory denoted by the given abstract pathname returning true if and only if the operation succeeds .