| Total Complexity | 6 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 10 | class TokenableEntity implements TokenableEntityInterface |
||
| 11 | { |
||
| 12 | public function __construct( |
||
| 13 | protected string $recipient, |
||
| 14 | protected string $text, |
||
| 15 | protected string $tokenType, |
||
| 16 | protected array $data, |
||
| 17 | protected array $deliveryOptions = [] |
||
| 18 | ) |
||
| 19 | { |
||
| 20 | } |
||
| 21 | 2 | ||
| 22 | public function getTokenData(): array |
||
| 23 | 2 | { |
|
| 24 | 2 | return $this->data; |
|
| 25 | 2 | } |
|
| 26 | |||
| 27 | 1 | public function getRecipient(): string |
|
| 30 | } |
||
| 31 | |||
| 32 | 1 | public function getText(): string |
|
| 33 | { |
||
| 34 | 1 | return $this->text; |
|
| 35 | } |
||
| 36 | |||
| 37 | public function getTokenType(): string |
||
| 38 | { |
||
| 39 | return $this->tokenType; |
||
| 40 | } |
||
| 41 | |||
| 42 | public function getOptions(): array |
||
| 45 | } |
||
| 46 | } |
||
| 47 |