| 1 | <?php |
||
| 20 | abstract class AbstractMessageResult implements MessageResultInterface |
||
| 21 | { |
||
| 22 | private string $token = ''; |
||
|
|
|||
| 23 | |||
| 24 | /** |
||
| 25 | * {@inheritdoc} |
||
| 26 | */ |
||
| 27 | public function getToken(): string |
||
| 28 | { |
||
| 29 | return $this->token; |
||
| 30 | } |
||
| 31 | |||
| 32 | /** |
||
| 33 | * {@inheritdoc} |
||
| 34 | */ |
||
| 35 | public function setToken(string $token): self |
||
| 36 | { |
||
| 37 | $this->token = $token; |
||
| 38 | |||
| 39 | return $this; |
||
| 40 | } |
||
| 41 | } |
||
| 42 |