You are here

public function AssetOptimizationEvent::__construct in Advanced CSS/JS Aggregation 8.3

Same name and namespace in other branches
  1. 8.4 src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()

AssetOptimizationEvent constructor.

Parameters

string $content: The asset content.

array $asset: The asset core definition array.

array $data: The cache data about the asset.

File

src/Asset/AssetOptimizationEvent.php, line 65

Class

AssetOptimizationEvent
AssetOptimizationEvent data holder.

Namespace

Drupal\advagg\Asset

Code

public function __construct($content, array $asset, array $data) {
  $this->content = $content;
  $this->asset = $asset;
  $this->data = $data;
}