Files
Alexandre Gain b138056e43 style: fix indentation, alignment, and docblock annotations
- Correct getChoices() docblock to reflect translated label => enum
  backing value order instead of value => label
- Re-indent Smart Links menu config to match actual array nesting
- Align assignment operators in RefreshStatsCommand
- Add missing newline at end of RefreshStatsCommand.php
2026-11-21 11:23:33 +01:00

31 lines
635 B
PHP

<?php
declare(strict_types=1);
namespace MauticPlugin\MT3SMarketingProgramBundle\Event;
use MauticPlugin\MT3SMarketingProgramBundle\Entity\Program;
use Symfony\Contracts\EventDispatcher\Event;
/**
* The payload of the plugin's mt3s.marketing_program.* events (see MT3SMarketingProgramEvents).
*/
final class ProgramEvent extends Event
{
public function __construct(
private readonly Program $program,
private readonly bool $isNew,
) {
}
public function getProgram(): Program
{
return $this->program;
}
public function isNew(): bool
{
return $this->isNew;
}
}