1 | <?php |
||
31 | class DBALConfiguration extends AbstractOptions |
||
32 | { |
||
33 | /** |
||
34 | * Set the cache key for the result cache. Cache key |
||
35 | * is assembled as "doctrine.cache.{key}" and pulled from |
||
36 | * service locator. |
||
37 | * |
||
38 | * @var string |
||
39 | */ |
||
40 | protected $resultCache = 'array'; |
||
41 | |||
42 | /** |
||
43 | * Set the class name of the SQL Logger, or null, to disable. |
||
44 | * |
||
45 | * @var string |
||
46 | */ |
||
47 | protected $sqlLogger = null; |
||
48 | |||
49 | /** |
||
50 | * Keys must be the name of the type identifier and value is |
||
51 | * the class name of the Type |
||
52 | * |
||
53 | * @var array |
||
54 | */ |
||
55 | protected $types = array(); |
||
56 | |||
57 | /** |
||
58 | * @param string $resultCache |
||
59 | */ |
||
60 | public function setResultCache($resultCache) |
||
64 | |||
65 | /** |
||
66 | * @return string |
||
67 | */ |
||
68 | public function getResultCache() |
||
72 | |||
73 | /** |
||
74 | * @param string $sqlLogger |
||
75 | */ |
||
76 | public function setSqlLogger($sqlLogger) |
||
80 | |||
81 | /** |
||
82 | * @return string |
||
83 | */ |
||
84 | 69 | public function getSqlLogger() |
|
88 | |||
89 | /** |
||
90 | * @param array $types |
||
91 | */ |
||
92 | public function setTypes(array $types) |
||
96 | |||
97 | /** |
||
98 | * @return string |
||
99 | */ |
||
100 | 69 | public function getTypes() |
|
104 | } |
||
105 |