3 Bounded Contexts (Sales, Invoicing, LegacyFulfillment) avec : - Domaines complets (agrégats, VOs, événements, invariants) - Couche application (commands, queries, ports) - Infrastructure in-memory (repos, gateway fake) - Controllers HTTP Symfony - Couplage naïf synchrone entre BC via NaiveSalesEventPublisher - 20 tests unitaires et d'intégration passants
13 lines
190 B
PHP
13 lines
190 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace MiniShop\Sales\Application\Query;
|
|
|
|
final readonly class GetOrderById
|
|
{
|
|
public function __construct(
|
|
public string $orderId,
|
|
) {}
|
|
}
|