| Total Complexity | 3 |
| Total Lines | 14 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | final class PreDispatchActivityLogMessageEvent extends Event |
||
| 9 | { |
||
| 10 | public function __construct(private readonly ActivityLogMessageInterface $activityLogMessage) |
||
| 11 | { |
||
| 12 | } |
||
| 13 | |||
| 14 | public static function create(ActivityLogMessageInterface $activityLogMessage): self |
||
| 15 | { |
||
| 16 | return new self($activityLogMessage); |
||
| 17 | } |
||
| 18 | |||
| 19 | public function getActivityLogMessage(): ActivityLogMessageInterface |
||
| 22 | } |
||
| 23 | } |
||
| 24 |