AssetWriter
in package
Writes assets to the filesystem.
Tags
Table of Contents
- $dir : mixed
- $values : mixed
- __construct() : mixed
- Constructor.
- writeAsset() : mixed
- writeManagerAssets() : mixed
- write() : mixed
- getCombinations() : mixed
- Not used.
Properties
$dir
private
mixed
$dir
$values
private
mixed
$values
Methods
__construct()
Constructor.
public
__construct(string $dir[, array<string|int, mixed> $values = array() ]) : mixed
Parameters
- $dir : string
-
The base web directory
- $values : array<string|int, mixed> = array()
-
Variable values
Tags
Return values
mixed —writeAsset()
public
writeAsset(AssetInterface $asset) : mixed
Parameters
- $asset : AssetInterface
Return values
mixed —writeManagerAssets()
public
writeManagerAssets(AssetManager $am) : mixed
Parameters
- $am : AssetManager
Return values
mixed —write()
protected
static write(mixed $path, mixed $contents) : mixed
Parameters
- $path : mixed
- $contents : mixed
Return values
mixed —getCombinations()
Not used.
private
getCombinations(array<string|int, mixed> $vars) : mixed
This method is provided for backward compatibility with certain versions of AsseticBundle.
Parameters
- $vars : array<string|int, mixed>