src/Factory.php
public function writer($tmpPath = '')
    {
        $tmpPath = $tmpPath ?: $this->config->get('general.timestampPath');
        if (!$tmpPath) {
            $tmpPath = sys_get_temp_dir() . DIRECTORY_SEPARATOR;
        }
        $timestamp = [
            'js' => $this->config->get('js.timestamp'),
            'css' => $this->config->get('css.timestamp'),
        ];
        $writer = new AssetWriter($timestamp, $tmpPath, $this->config->theme());
        $writer->configTimestamp($this->config->modifiedTime());
        $writer->filterRegistry($this->filterRegistry());
        return $writer;
    }
public function writer($tmpPath = '')
    {
        $tmpPath = $tmpPath ?: $this->config->get('general.timestampPath');
        if (!$tmpPath) {
            $tmpPath = sys_get_temp_dir() . DIRECTORY_SEPARATOR;
        }
        $timestamp = [
            'js' => $this->config->get('js.timestamp'),
            'css' => $this->config->get('css.timestamp'),
        ];
        $writer = new AssetWriter($timestamp, $tmpPath, $this->config->theme());
        $writer->configTimestamp($this->config->modifiedTime());
        $writer->filterRegistry($this->filterRegistry());
        return $writer;
    }
public function writer ( $ tmpPath = '' ) { $ tmpPath = $ tmpPath ? : $ this -> config -> get ( 'general.timestampPath' ) ; if ( ! $ tmpPath ) { $ tmpPath = sys_get_temp_dir ( ) . DIRECTORY_SEPARATOR ; } $ timestamp = [ 'js' => $ this -> config -> get ( 'js.timestamp' ) , 'css' => $ this -> config -> get ( 'css.timestamp' ) , ] ; $ writer = new AssetWriter ( $ timestamp , $ tmpPath , $ this -> config -> theme ( ) ) ; $ writer -> configTimestamp ( $ this -> config -> modifiedTime ( ) ) ; $ writer -> filterRegistry ( $ this -> filterRegistry ( ) ) ; return $ writer ; }
Create an AssetWriter

@param string $tmpPath The path where the build timestamp lookup should be stored.
@return \MiniAsset\AssetWriter
Create an AssetWriter