Total Complexity | 5 |
Total Lines | 43 |
Duplicated Lines | 0 % |
Coverage | 100% |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
18 | class PdoSqliteDriverConfiguration extends PluginRoutingKeyConfiguration implements DriverConfigurationInterface |
||
19 | { |
||
20 | use UserPasswordTrait; |
||
21 | |||
22 | public const CFG_PATH = 'ORM_%s_PATH'; |
||
23 | public const CFG_IN_MEMORY = 'ORM_%s_IN_MEMORY'; |
||
24 | |||
25 | 1 | public function getPath(): ?string |
|
26 | { |
||
27 | 1 | return $this->get(self::CFG_PATH, null, false); |
|
28 | } |
||
29 | |||
30 | /** |
||
31 | * True if the SQLite database should be in-memory (non-persistent). Mutually exclusive with path. path takes precedence. |
||
32 | */ |
||
33 | 3 | public function inMemory(): bool |
|
36 | } |
||
37 | |||
38 | 3 | public function getParameters(): array |
|
55 | 3 | ]; |
|
56 | } |
||
57 | |||
58 | 3 | public static function name(): string |
|
63 |