-
-
Save dgafka/06e145e576508710bd145edea5d0f37a to your computer and use it in GitHub Desktop.
multi-tenancy-14.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
#[EventHandler] | |
public function audit( | |
CustomerWasRegistered $event, | |
AuditRepository $auditRepository, | |
#[Header('tenant')] string $tenantName | |
) | |
{ | |
$auditRepository->store($event, $tenantName); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment