36 lines
806 B
PHP
36 lines
806 B
PHP
<?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;
|
|
}
|
|
}
|