1 | <?php |
||
14 | class Signer implements SignerInterface |
||
15 | { |
||
16 | /** |
||
17 | * @var string |
||
18 | */ |
||
19 | private $secret; |
||
20 | |||
21 | /** |
||
22 | * @param string $secret |
||
23 | */ |
||
24 | public function __construct($secret) |
||
28 | |||
29 | /** |
||
30 | * {@inheritdoc} |
||
31 | */ |
||
32 | public function sign($path, array $runtimeConfig = null) |
||
42 | |||
43 | /** |
||
44 | * {@inheritdoc} |
||
45 | */ |
||
46 | public function check($hash, $path, array $runtimeConfig = null) |
||
50 | } |
||
51 |