1 | <?php |
||
11 | abstract class Driver implements DriverContract |
||
12 | { |
||
13 | /** |
||
14 | * Get driver short name. |
||
15 | * |
||
16 | * This name is used as an alias for configuration. |
||
17 | * |
||
18 | * @return string |
||
19 | */ |
||
20 | 1 | public function getShortName(): string |
|
24 | |||
25 | /** |
||
26 | * Initialize driver. |
||
27 | * |
||
28 | * @param Collection $parameters |
||
29 | * |
||
30 | * @return Driver|DriverContract|static |
||
31 | */ |
||
32 | 2 | public function initialize(Collection $parameters): DriverContract |
|
40 | |||
41 | /** |
||
42 | * Get template compiler instance. |
||
43 | * |
||
44 | * @return TemplateRenderer|null |
||
45 | */ |
||
46 | public function getTemplateRenderer(): ?TemplateRenderer |
||
50 | } |
||
51 |