1 | <?php |
||
19 | class Adapter extends BaseTransportAdapter |
||
20 | { |
||
21 | /** |
||
22 | * @inheritdoc |
||
23 | */ |
||
24 | public static function displayName(): string |
||
28 | |||
29 | /** |
||
30 | * @var string |
||
31 | */ |
||
32 | private $token; |
||
33 | |||
34 | /** |
||
35 | * @inheritdoc |
||
36 | */ |
||
37 | public function attributeLabels() |
||
43 | |||
44 | /** |
||
45 | * @inheritdoc |
||
46 | */ |
||
47 | public function rules() |
||
67 | |||
68 | /** |
||
69 | * @inheritdoc |
||
70 | */ |
||
71 | public function attributes() |
||
80 | |||
81 | /** |
||
82 | * @param string|null $token |
||
83 | * @return $this |
||
84 | */ |
||
85 | public function setToken(string $token = null) |
||
90 | |||
91 | /** |
||
92 | * @return string|null |
||
93 | */ |
||
94 | public function getToken() |
||
98 | |||
99 | /** |
||
100 | * Identify whether the token can be set (or if it has been set via config) |
||
101 | * |
||
102 | * @return bool |
||
103 | */ |
||
104 | protected function tokenOverride(): bool |
||
108 | |||
109 | /** |
||
110 | * @inheritdoc |
||
111 | * @throws \Twig_Error_Loader |
||
112 | * @throws \yii\base\Exception |
||
113 | */ |
||
114 | public function getSettingsHtml() |
||
121 | |||
122 | /** |
||
123 | * @inheritdoc |
||
124 | */ |
||
125 | public function defineTransport() |
||
132 | } |
||
133 |