| 1 | <?php |
||
| 12 | class DBALConfiguration extends AbstractOptions |
||
| 13 | { |
||
| 14 | /** |
||
| 15 | * Set the cache key for the result cache. Cache key |
||
| 16 | * is assembled as "doctrine.cache.{key}" and pulled from |
||
| 17 | * service locator. |
||
| 18 | * |
||
| 19 | * @var string |
||
| 20 | */ |
||
| 21 | protected $resultCache = 'array'; |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Set the class name of the SQL Logger, or null, to disable. |
||
| 25 | * |
||
| 26 | * @var string |
||
| 27 | */ |
||
| 28 | protected $sqlLogger = null; |
||
| 29 | |||
| 30 | /** |
||
| 31 | * Keys must be the name of the type identifier and value is |
||
| 32 | * the class name of the Type |
||
| 33 | * |
||
| 34 | * @var mixed[] |
||
| 35 | */ |
||
| 36 | protected $types = []; |
||
| 37 | |||
| 38 | public function setResultCache(string $resultCache) : void |
||
| 42 | |||
| 43 | public function getResultCache() : string |
||
| 47 | |||
| 48 | public function setSqlLogger(string $sqlLogger) : void |
||
| 52 | |||
| 53 | 86 | public function getSqlLogger() : ?string |
|
| 57 | |||
| 58 | /** |
||
| 59 | * @param mixed[] $types |
||
| 60 | */ |
||
| 61 | public function setTypes(array $types) : void |
||
| 65 | |||
| 66 | /** |
||
| 67 | * @return mixed |
||
| 68 | */ |
||
| 69 | 86 | public function getTypes() |
|
| 73 | } |
||
| 74 |