| 1 | <?php declare(strict_types=1); |
||
| 8 | class Key |
||
| 9 | { |
||
| 10 | private $consumerSecret; |
||
| 11 | |||
| 12 | private $tokenSecret; |
||
| 13 | |||
| 14 | 7 | public function __construct(Application $consumer, AccessToken $accessToken) |
|
| 15 | { |
||
| 16 | 7 | $this->consumerSecret = $consumer->getSecret(); |
|
| 17 | 7 | $this->tokenSecret = $accessToken->getSecret(); |
|
| 18 | } |
||
| 19 | |||
| 20 | 7 | public function getKey(): string |
|
| 24 | } |
||
| 25 |