src/Output/AssetWriter.php
public function setTimestamp(AssetTarget $build, $time)
    {
        $ext = $build->ext();
        if (empty($this->timestamp[$ext])) {
            return;
        }
        $data = $this->_readTimestamp();
        $name = $this->buildCacheName($build);
        $data[$name] = $time;
        $this->_writeTimestamp($data);
    }
public function setTimestamp(AssetTarget $build, $time)
    {
        $ext = $build->ext();
        if (empty($this->timestamp[$ext])) {
            return;
        }
        $data = $this->_readTimestamp();
        $name = $this->buildCacheName($build);
        $data[$name] = $time;
        $this->_writeTimestamp($data);
    }
public function setTimestamp ( AssetTarget $ build , $ time ) { $ ext = $ build -> ext ( ) ; if ( empty ( $ this -> timestamp [ $ ext ] ) ) { return ; } $ data = $ this -> _readTimestamp ( ) ; $ name = $ this -> buildCacheName ( $ build ) ; $ data [ $ name ] = $ time ; $ this -> _writeTimestamp ( $ data ) ; }
Set the timestamp for a build file.

@param AssetTarget $build The name of the build to set a timestamp for.
@param int $time The timestamp.
@return void
Set the timestamp for a build file .