1 | <?php namespace Arcanedev\LaravelExcel; |
||
11 | abstract class AbstractManager extends Manager |
||
12 | { |
||
13 | /* ----------------------------------------------------------------- |
||
14 | | Getters & Setters |
||
15 | | ----------------------------------------------------------------- |
||
16 | */ |
||
17 | |||
18 | /** |
||
19 | * Get the config repository. |
||
20 | * |
||
21 | * @return \Illuminate\Contracts\Config\Repository |
||
22 | */ |
||
23 | 21 | protected function config() |
|
27 | |||
28 | /** |
||
29 | * Get the default driver name. |
||
30 | * |
||
31 | * @return string |
||
32 | */ |
||
33 | 3 | public function getDefaultDriver() |
|
37 | |||
38 | /* ----------------------------------------------------------------- |
||
39 | | Other Methods |
||
40 | | ----------------------------------------------------------------- |
||
41 | */ |
||
42 | |||
43 | /** |
||
44 | * Get the driver's exporter class. |
||
45 | * |
||
46 | * @param string $driver |
||
47 | * |
||
48 | * @return string |
||
49 | */ |
||
50 | 9 | protected function getDriverExporter($driver) |
|
54 | |||
55 | /** |
||
56 | * Get the driver's importer class. |
||
57 | * |
||
58 | * @param string $driver |
||
59 | * |
||
60 | * @return string |
||
61 | */ |
||
62 | 12 | protected function getDriverImporter($driver) |
|
66 | |||
67 | /** |
||
68 | * Get the driver options. |
||
69 | * |
||
70 | * @param string $driver |
||
71 | * |
||
72 | * @return array |
||
73 | */ |
||
74 | 21 | protected function getDriverOptions($driver) |
|
78 | } |
||
79 |