Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
Total | n/a |
0 / 0 |
n/a |
0 / 0 |
CRAP | n/a |
0 / 0 |
1 | <?php |
2 | /** |
3 | * |
4 | * This file is part of the phpBB Forum Software package. |
5 | * |
6 | * @copyright (c) phpBB Limited <https://www.phpbb.com> |
7 | * @license GNU General Public License, version 2 (GPL-2.0) |
8 | * |
9 | * For full copyright and license information, please see |
10 | * the docs/CREDITS.txt file. |
11 | * |
12 | */ |
13 | |
14 | namespace phpbb\storage\provider; |
15 | |
16 | interface provider_interface |
17 | { |
18 | /** |
19 | * Gets adapter name |
20 | * |
21 | * @return string |
22 | */ |
23 | public function get_name(); |
24 | |
25 | /** |
26 | * Gets adapter class |
27 | * |
28 | * @return string |
29 | */ |
30 | public function get_adapter_class(): string; |
31 | |
32 | /** |
33 | * Gets adapter options |
34 | * |
35 | * @return array Configuration keys |
36 | */ |
37 | public function get_options(); |
38 | |
39 | /** |
40 | * Return true if the adapter is available |
41 | * |
42 | * @return bool |
43 | */ |
44 | public function is_available(); |
45 | } |