| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 14 | class Signer implements SignerInterface |
||
| 15 | { |
||
| 16 | /** |
||
| 17 | * @var ConfigInterface The SDK config. |
||
| 18 | */ |
||
| 19 | protected $config; |
||
| 20 | |||
| 21 | /** |
||
| 22 | * Constructs the token signer. |
||
| 23 | * |
||
| 24 | * @param ConfigInterface $config The SDK config. |
||
| 25 | */ |
||
| 26 | public function __construct(ConfigInterface $config) |
||
| 27 | { |
||
| 28 | $this->config = $config; |
||
| 29 | } |
||
| 30 | |||
| 31 | /** |
||
| 32 | * @inheritDoc |
||
| 33 | */ |
||
| 34 | public function createSignature(string $data): string |
||
| 45 | } |
||
| 46 | } |
||
| 48 |