@@ 41-52 (lines=12) @@ | ||
38 | */ |
|
39 | private $sender; |
|
40 | ||
41 | public function __construct( |
|
42 | PhoneNumberValidatorInterface $phoneNumberValidator, |
|
43 | PhoneNumberUtil $phoneNumberUtil, |
|
44 | string $countryCode, |
|
45 | Client $client, |
|
46 | string $smsSender, |
|
47 | string $defaultDestination = null |
|
48 | ) { |
|
49 | parent::__construct($phoneNumberValidator, $phoneNumberUtil, $countryCode, $defaultDestination); |
|
50 | $this->client = $client; |
|
51 | $this->sender = $smsSender; |
|
52 | } |
|
53 | ||
54 | public function triggerNotification(string $phoneNumber, string $content): void |
|
55 | { |
@@ 40-51 (lines=12) @@ | ||
37 | */ |
|
38 | private $sender; |
|
39 | ||
40 | public function __construct( |
|
41 | PhoneNumberValidatorInterface $phoneNumberValidator, |
|
42 | PhoneNumberUtil $phoneNumberUtil, |
|
43 | string $countryCode, |
|
44 | Client $client, |
|
45 | string $sender, |
|
46 | string $defaultDestination = null |
|
47 | ) { |
|
48 | parent::__construct($phoneNumberValidator, $phoneNumberUtil, $countryCode, $defaultDestination); |
|
49 | $this->client = $client; |
|
50 | $this->sender = $sender; |
|
51 | } |
|
52 | ||
53 | public function triggerNotification(string $phoneNumber, string $content): void |
|
54 | { |