Set the timestamp for a build file.
public setTimestamp ( |
||
$build | The name of the build to set a timestamp for. | |
$time | integer | The timestamp. |
return | void |
public function testGetSetTimestamp() { $writer = new AssetWriter(['js' => true, 'css' => false], TMP); $time = time(); $writer->setTimestamp($this->target, $time); $result = $writer->getTimestamp($this->target); $this->assertEquals($time, $result); }