PHP Class Flarum\Http\WebApp\WebAppAssets

Afficher le fichier Open project: flarum/core Class Usage Examples

Protected Properties

Свойство Type Description
$app Flarum\Foundation\Application
$cache Illuminate\Contracts\Cache\Repository
$locales Flarum\Locale\LocaleManager
$name string

Méthodes publiques

Méthode Description
__construct ( string $name, Application $app, Illuminate\Contracts\Cache\Repository $cache, LocaleManager $locales )
flush ( )
flushCss ( )
flushJs ( )
flushLocaleCss ( )
flushLocaleJs ( )
getCss ( ) : LessCompiler
getJs ( ) : JsCompiler
getLocaleCss ( $locale ) : LessCompiler
getLocaleJs ( $locale ) : JsCompiler
setName ( string $name )

Méthodes protégées

Méthode Description
getDestination ( )
getLessStorage ( )
shouldWatch ( )

Method Details

__construct() public méthode

public __construct ( string $name, Application $app, Illuminate\Contracts\Cache\Repository $cache, LocaleManager $locales )
$name string
$app Flarum\Foundation\Application
$cache Illuminate\Contracts\Cache\Repository
$locales Flarum\Locale\LocaleManager

flush() public méthode

public flush ( )

flushCss() public méthode

public flushCss ( )

flushJs() public méthode

public flushJs ( )

flushLocaleCss() public méthode

public flushLocaleCss ( )

flushLocaleJs() public méthode

public flushLocaleJs ( )

getCss() public méthode

public getCss ( ) : LessCompiler
Résultat Flarum\Asset\LessCompiler

getDestination() protected méthode

protected getDestination ( )

getJs() public méthode

public getJs ( ) : JsCompiler
Résultat Flarum\Asset\JsCompiler

getLessStorage() protected méthode

protected getLessStorage ( )

getLocaleCss() public méthode

public getLocaleCss ( $locale ) : LessCompiler
$locale
Résultat Flarum\Asset\LessCompiler

getLocaleJs() public méthode

public getLocaleJs ( $locale ) : JsCompiler
$locale
Résultat Flarum\Locale\JsCompiler

setName() public méthode

public setName ( string $name )
$name string

shouldWatch() protected méthode

protected shouldWatch ( )

Property Details

$app protected_oe property

protected Application,Flarum\Foundation $app
Résultat Flarum\Foundation\Application

$cache protected_oe property

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

$locales protected_oe property

protected LocaleManager,Flarum\Locale $locales
Résultat Flarum\Locale\LocaleManager

$name protected_oe property

protected string $name
Résultat string