Total Complexity | 6 |
Total Lines | 46 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 1 |
1 | <?php |
||
7 | class Key |
||
8 | { |
||
9 | public function __construct() {} |
||
10 | |||
11 | /** |
||
12 | * Get content of key file |
||
13 | * @param string $fname |
||
14 | * @return string |
||
15 | */ |
||
16 | public function get($fname) |
||
21 | } |
||
22 | |||
23 | /** |
||
24 | * Check if exist key file |
||
25 | * |
||
26 | * @param string $fname |
||
27 | * @throws Exception\Runtime |
||
28 | */ |
||
29 | protected function check_exists($fname) |
||
34 | } |
||
35 | } |
||
36 | |||
37 | /** |
||
38 | * Load key file |
||
39 | * |
||
40 | * @param string $fname |
||
41 | * @return string |
||
42 | * @throws Exception\Runtime |
||
43 | */ |
||
44 | protected function load($fname) |
||
55 |