1 | <?php |
||
15 | abstract class HelperBase |
||
16 | { |
||
17 | /** |
||
18 | * @var array |
||
19 | */ |
||
20 | protected $config = []; |
||
21 | |||
22 | /** |
||
23 | * Constructor |
||
24 | * @param array $config |
||
25 | */ |
||
26 | 14 | public function __construct(array $config = []) |
|
33 | |||
34 | /** |
||
35 | * Default configuration |
||
36 | * |
||
37 | * @return array |
||
38 | */ |
||
39 | 14 | final protected function getDefaultConfig() |
|
47 | |||
48 | /** |
||
49 | * Checks for all required claims |
||
50 | * |
||
51 | * @param array $claimKeys |
||
52 | * @return boolean |
||
53 | */ |
||
54 | 11 | final protected function checkRequiredClaims($claimKeys) |
|
59 | } |
||
60 |