Applies dump filters and returns the asset as a string.
You may provide an additional filter to apply during dump.
Dumping an asset should not change its state.
If the current asset has not been loaded yet, it should be automatically loaded at this time.
FilterInterface $additionalFilter An additional filter:
string The filtered content of the current asset
Overrides AssetCollection::dump
public function dump(FilterInterface $additionalFilter = null) {
if (!$this->initialized) {
$this
->initialize();
}
return parent::dump($additionalFilter);
}