PHP Class Flarum\Asset\JsCompiler

Inheritance: extends RevisionCompiler
Afficher le fichier Open project: flarum/core

Protected Properties

Свойство Type Description
$cache Illuminate\Cache\Repository

Méthodes publiques

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

Méthodes protégées

Méthode Description
format ( $string )
getCacheDifferentiator ( )
minify ( string $source ) : string
minifyWithClosureCompilerService ( string $source ) : string
minifyWithFallback ( string $source ) : string

Method Details

__construct() public méthode

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 méthode

protected format ( $string )

getCacheDifferentiator() protected méthode

protected getCacheDifferentiator ( )

minify() protected méthode

protected minify ( string $source ) : string
$source string
Résultat string

minifyWithClosureCompilerService() protected méthode

protected minifyWithClosureCompilerService ( string $source ) : string
$source string
Résultat string

minifyWithFallback() protected méthode

protected minifyWithFallback ( string $source ) : string
$source string
Résultat string

Property Details

$cache protected_oe property

protected Repository,Illuminate\Cache $cache
Résultat Illuminate\Cache\Repository