| Total Complexity | 5 |
| Total Lines | 35 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | trait TwoFactorTrait |
||
| 6 | { |
||
| 7 | /** @var string */ |
||
| 8 | protected $twilioPhoneNumber; |
||
| 9 | |||
| 10 | /** @var string */ |
||
| 11 | protected $twilioPreferredMethod; |
||
| 12 | |||
| 13 | public function getTwilioPhoneNumber(): ?string |
||
| 16 | } |
||
| 17 | |||
| 18 | public function setTwilioPhoneNumber(?string $twilioPhoneNumber) |
||
| 19 | { |
||
| 20 | $this->twilioPhoneNumber = $twilioPhoneNumber; |
||
| 21 | |||
| 22 | return $this; |
||
| 23 | } |
||
| 24 | |||
| 25 | public function getTwilioPreferredMethod(): ?string |
||
| 26 | { |
||
| 27 | return $this->twilioPreferredMethod; |
||
| 28 | } |
||
| 29 | |||
| 30 | public function setTwilioPreferredMethod(?string $twilioPreferredMethod) |
||
| 31 | { |
||
| 32 | $this->twilioPreferredMethod = $twilioPreferredMethod; |
||
| 33 | |||
| 34 | return $this; |
||
| 35 | } |
||
| 36 | |||
| 37 | public function isTwilioAuthEnabled(): bool |
||
| 40 | } |
||
| 41 | } |