class AssetManager

Properties

protected CompilerInterface $less
protected CompilerInterface $js

Methods

setFilename($filename)

No description

addFile(string $file)

No description

addFiles(array $files)

No description

addLess(callable $callback)

No description

addJs(callable $callback)

No description

string
getCssFile()

No description

string
getJsFile()

No description

flushCss()

No description

flushJs()

No description

Details

__construct(CompilerInterface $js, CompilerInterface $less)

Parameters

CompilerInterface $js
CompilerInterface $less

setFilename($filename)

Parameters

$filename

addFile(string $file)

Parameters

string $file

addFiles(array $files)

Parameters

array $files

addLess(callable $callback)

Parameters

callable $callback

addJs(callable $callback)

Parameters

callable $callback

string getCssFile()

Return Value

string

string getJsFile()

Return Value

string

flushCss()

flushJs()