|
@@ -29,7 +29,7 @@ discard block |
|
|
block discarded – undo |
|
29
|
29
|
$container['annotations.debug'] = isset($container['debug']) ? $container['debug'] : false; |
|
30
|
30
|
$container['annotations.ignored_names'] = []; |
|
31
|
31
|
|
|
32
|
|
- $container['annotations'] = function (Container $container) { |
|
|
32
|
+ $container['annotations'] = function(Container $container) { |
|
33
|
33
|
$reader = $container['annotations.use_simple_reader'] ? $container['annotations.simple_reader'] : $container['annotations.reader']; |
|
34
|
34
|
|
|
35
|
35
|
if (isset($container['annotations.cache'])) { |
|
@@ -43,17 +43,17 @@ discard block |
|
|
block discarded – undo |
|
43
|
43
|
return $reader; |
|
44
|
44
|
}; |
|
45
|
45
|
|
|
46
|
|
- $container['annotations.cache'] = function () { |
|
|
46
|
+ $container['annotations.cache'] = function() { |
|
47
|
47
|
return new ArrayCache(); |
|
48
|
48
|
}; |
|
49
|
49
|
|
|
50
|
|
- $container['annotations.simple_reader'] = function (Container $container) { |
|
|
50
|
+ $container['annotations.simple_reader'] = function(Container $container) { |
|
51
|
51
|
$this->configureDoctrine($container); |
|
52
|
52
|
|
|
53
|
53
|
return new SimpleAnnotationReader(); |
|
54
|
54
|
}; |
|
55
|
55
|
|
|
56
|
|
- $container['annotations.reader'] = function (Container $container) { |
|
|
56
|
+ $container['annotations.reader'] = function(Container $container) { |
|
57
|
57
|
$this->configureDoctrine($container); |
|
58
|
58
|
|
|
59
|
59
|
return new AnnotationReader(); |
Please login to merge, or discard this patch.