| Total Complexity | 3 |
| Total Lines | 34 |
| Duplicated Lines | 0 % |
| Coverage | 0% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class OrderStatusCreated implements CanSendTelegramNotification, ShouldQueue |
||
| 15 | { |
||
| 16 | use Dispatchable, InteractsWithSockets, SerializesModels, InteractsWithQueue; |
||
|
|
|||
| 17 | |||
| 18 | /** |
||
| 19 | * Create a new event instance. |
||
| 20 | * |
||
| 21 | * @param \App\Models\Order $order |
||
| 22 | * @return void |
||
| 23 | */ |
||
| 24 | public function __construct(protected Order $order) |
||
| 25 | { |
||
| 26 | // |
||
| 27 | } |
||
| 28 | |||
| 29 | /** |
||
| 30 | * {@inheritDoc} |
||
| 31 | */ |
||
| 32 | public function getTelegramChatId(): array |
||
| 38 | } |
||
| 39 | |||
| 40 | /** |
||
| 41 | * {@inheritDoc} |
||
| 42 | */ |
||
| 43 | public function getTelegramMessage(): string |
||
| 48 | } |
||
| 49 | } |
||
| 50 |