src/Output/AssetWriter.php
public function finalize(AssetTarget $build)
    {
        $ext = $build->ext();
        if (empty($this->timestamp[$ext])) {
            return;
        }
        $data = $this->_readTimestamp();
        $name = $this->buildCacheName($build);
        if (!isset($data[$name])) {
            return;
        }
        $time = $data[$name];
        unset($data[$name]);
        $this->_invalidated = null;
        $name = $this->buildCacheName($build);
        $data[$name] = $time;
        $this->_writeTimestamp($data);
    }
public function finalize(AssetTarget $build)
    {
        $ext = $build->ext();
        if (empty($this->timestamp[$ext])) {
            return;
        }
        $data = $this->_readTimestamp();
        $name = $this->buildCacheName($build);
        if (!isset($data[$name])) {
            return;
        }
        $time = $data[$name];
        unset($data[$name]);
        $this->_invalidated = null;
        $name = $this->buildCacheName($build);
        $data[$name] = $time;
        $this->_writeTimestamp($data);
    }
public function finalize ( AssetTarget $ build ) { $ ext = $ build -> ext ( ) ; if ( empty ( $ this -> timestamp [ $ ext ] ) ) { return ; } $ data = $ this -> _readTimestamp ( ) ; $ name = $ this -> buildCacheName ( $ build ) ; if ( ! isset ( $ data [ $ name ] ) ) { return ; } $ time = $ data [ $ name ] ; unset ( $ data [ $ name ] ) ; $ this -> _invalidated = null ; $ name = $ this -> buildCacheName ( $ build ) ; $ data [ $ name ] = $ time ; $ this -> _writeTimestamp ( $ data ) ; }
Finalize a build after written to filesystem.

@param AssetTarget $build The build to finalize.
@return void
Finalize a build after written to filesystem .