| Total Complexity | 4 |
| Total Lines | 43 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 24 | class DeletingSmsEvent extends AbstractEvent { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Event name. |
||
| 28 | * |
||
| 29 | * @var string |
||
| 30 | */ |
||
| 31 | const EVENT_NAME = "wbw.smsmode.event.deleting_sms"; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Constructor. |
||
| 35 | * |
||
| 36 | * @param DeletingSmsInterface $deletingSms The deleting SMS. |
||
| 37 | */ |
||
| 38 | public function __construct(DeletingSmsInterface $deletingSms) { |
||
| 40 | } |
||
| 41 | |||
| 42 | /** |
||
| 43 | * Get the deleting SMS. |
||
| 44 | * |
||
| 45 | * @return DeletingSmsInterface|null Returns the deleting SMS. |
||
| 46 | */ |
||
| 47 | public function getDeletingSms(): ?DeletingSmsInterface { |
||
| 48 | return $this->getEntity(); |
||
|
|
|||
| 49 | } |
||
| 50 | |||
| 51 | /** |
||
| 52 | * Get the deleting SMS request. |
||
| 53 | * |
||
| 54 | * @return DeletingSmsRequest|null Returns the deleting SMS request. |
||
| 55 | */ |
||
| 56 | public function getRequest(): ?DeletingSmsRequest { |
||
| 57 | return parent::getRequest(); |
||
| 58 | } |
||
| 59 | |||
| 60 | /** |
||
| 61 | * Get the deleting SMS response. |
||
| 62 | * |
||
| 63 | * @return DeletingSmsResponse|null Returns the deleting SMS response. |
||
| 64 | */ |
||
| 65 | public function getResponse(): ?DeletingSmsResponse { |
||
| 67 | } |
||
| 68 | } |
||
| 69 |