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