FestinHegre/vendor/symfony/asset-mapper/Event/PreAssetsCompileEvent.php

36 lines
806 B
PHP
Raw Normal View History

2024-09-26 17:26:04 +02:00
<?php
/*
* This file is part of the Symfony package.
*
* (c) Fabien Potencier <fabien@symfony.com>
*
* For the full copyright and license information, please view the LICENSE
* file that was distributed with this source code.
*/
namespace Symfony\Component\AssetMapper\Event;
use Symfony\Component\Console\Output\OutputInterface;
use Symfony\Contracts\EventDispatcher\Event;
/**
* Dispatched during the asset-map:compile command, before the assets are compiled.
*
* @author Ryan Weaver <ryan@symfonycasts.com>
*/
class PreAssetsCompileEvent extends Event
{
private OutputInterface $output;
public function __construct(OutputInterface $output)
{
$this->output = $output;
}
public function getOutput(): OutputInterface
{
return $this->output;
}
}