public function AssetWriter::writeManagerAssets

File

drupal/core/vendor/kriswallsmith/assetic/src/Assetic/AssetWriter.php, line 50

Class

AssetWriter
Writes assets to the filesystem.

Namespace

Assetic

Code

public function writeManagerAssets(AssetManager $am) {
  foreach ($am
    ->getNames() as $name) {
    $this
      ->writeAsset($am
      ->get($name));
  }
}