Same name in other branches
  1. 5.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
  2. 6.0.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()
  3. 8.x-4.x src/Asset/AssetOptimizationEvent.php \Drupal\advagg\Asset\AssetOptimizationEvent::__construct()

AssetOptimizationEvent constructor.

Paramètres

string $content: The asset content.

array $asset: The asset core definition array.

array $data: The cache data about the asset.

Fichier

src/Asset/AssetOptimizationEvent.php, line 65

Classe

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;
}