| Total Complexity | 2 |
| Total Lines | 20 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 11 | class SignRequestMiddleware |
||
| 12 | { |
||
| 13 | private $sapient; |
||
| 14 | private $privateKey; |
||
| 15 | |||
| 16 | public function __construct(Sapient $sapient, string $privateKey) |
||
| 17 | { |
||
| 18 | $this->sapient = $sapient; |
||
| 19 | $this->privateKey = $privateKey; |
||
| 20 | } |
||
| 21 | |||
| 22 | public function __invoke(callable $handler) |
||
| 31 | }; |
||
| 32 | } |
||
| 34 |