This commit is contained in:
2022-01-13 18:41:03 +01:00
commit 0fb9f639da
159 changed files with 13183 additions and 0 deletions

View File

@@ -0,0 +1,25 @@
<?php declare(strict_types = 1);
namespace App\Domain\Order\Event;
use Symfony\Contracts\EventDispatcher\Event;
final class OrderCreated extends Event
{
public const NAME = 'order.created';
/** @var string */
private $order;
public function __construct(string $order)
{
$this->order = $order;
}
public function getOrder(): string
{
return $this->order;
}
}