PHP Class Flarum\Asset\JsCompiler

Inheritance: extends RevisionCompiler
Datei anzeigen Open project: flarum/core

Protected Properties

Property Type Description
$cache Illuminate\Cache\Repository

Public Methods

Method Description
__construct ( string $path, string $filename, boolean $watch = false, Illuminate\Cache\Repository $cache = null )

Protected Methods

Method Description
format ( $string )
getCacheDifferentiator ( )
minify ( string $source ) : string
minifyWithClosureCompilerService ( string $source ) : string
minifyWithFallback ( string $source ) : string

Method Details

__construct() public method

public __construct ( string $path, string $filename, boolean $watch = false, Illuminate\Cache\Repository $cache = null )
$path string
$filename string
$watch boolean
$cache Illuminate\Cache\Repository

format() protected method

protected format ( $string )

getCacheDifferentiator() protected method

protected getCacheDifferentiator ( )

minify() protected method

protected minify ( string $source ) : string
$source string
return string

minifyWithClosureCompilerService() protected method

protected minifyWithClosureCompilerService ( string $source ) : string
$source string
return string

minifyWithFallback() protected method

protected minifyWithFallback ( string $source ) : string
$source string
return string

Property Details

$cache protected_oe property

protected Repository,Illuminate\Cache $cache
return Illuminate\Cache\Repository