1 | <?php |
||
14 | trait HasAdaptersTrait |
||
15 | { |
||
16 | |||
17 | /** |
||
18 | * @return string |
||
19 | */ |
||
20 | public function getDefaultDriver() |
||
24 | |||
25 | /** |
||
26 | * @param $name |
||
27 | * @param $config |
||
28 | * @return AbstractAdapter |
||
29 | */ |
||
30 | 3 | public function createDriver($name, $config = []) |
|
39 | |||
40 | /** |
||
41 | * Create an instance of the php file cache driver. |
||
42 | * |
||
43 | * @param array $config |
||
44 | * @return FilesystemAdapter |
||
45 | */ |
||
46 | 3 | protected function createFileDriver(array $config) |
|
54 | } |
||
55 |