classes/phing/system/io/PhingFile.php
public function setLastModified($time)
    {
        $time = (int) $time;
        if ($time < 0) {
            throw new Exception("IllegalArgumentException, Negative $time\n");
        }

        $fs = FileSystem::getFileSystem();

        $fs->setLastModifiedTime($this, $time);
    }
public function setLastModified($time)
    {
        $time = (int) $time;
        if ($time < 0) {
            throw new Exception("IllegalArgumentException, Negative $time\n");
        }

        $fs = FileSystem::getFileSystem();

        $fs->setLastModifiedTime($this, $time);
    }
public function setLastModified ( $ time ) { $ time = ( int ) $ time ; if ( $ time < 0 ) { throw new Exception ( "IllegalArgumentException, Negative $time\n" ) ; } $ fs = FileSystem :: getFileSystem ( ) ; $ fs -> setLastModifiedTime ( $ this , $ time ) ; }
Sets the last-modified time of the file or directory named by this
abstract pathname.

All platforms support file-modification times to the nearest second,
but some provide more precision.  The argument will be truncated to fit
the supported precision.  If the operation succeeds and no intervening
operations on the file take place, then the next invocation of the
lastModified method will return the (possibly truncated) time argument
that was passed to this method.

@param  int $time The new last-modified time, measured in milliseconds since
the epoch (00:00:00 GMT, January 1, 1970)
@throws Exception
Sets the last - modified time of the file or directory named by this abstract pathname .