Documentation

AssetWriter
in package

Writes assets to the filesystem.

Tags
author

Kris Wallsmith kris.wallsmith@gmail.com

author

Johannes M. Schmitt schmittjoh@gmail.com

Table of Contents

$dir  : mixed
$values  : mixed
__construct()  : mixed
Constructor.
writeAsset()  : mixed
writeManagerAssets()  : mixed
write()  : mixed
getCombinations()  : mixed
Not used.

Properties

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
throws
InvalidArgumentException

if a variable value is not a string

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>
Return values
mixed

Search results