Fetching/Storing Aggregates
Default flow
Business Repository Interface
interface OrderRepository
{
#[Repository]
public function getOrder(string $twitId): Order;
#[Repository]
public function findOrder(string $twitId): ?Order;
#[Repository]
public function save(Twitter $twitter): void;
}Pure Event Sourced Repository
Instant Fetch Aggregate
Allowing non existing Aggregates
Accessing Message Headers
Using External Services
Last updated
Was this helpful?