File tree Expand file tree Collapse file tree 5 files changed +46
-12
lines changed
lib/internal/Magento/Framework/App/Cache/Type Expand file tree Collapse file tree 5 files changed +46
-12
lines changed Original file line number Diff line number Diff line change 22
22
<label >Collections Data</label >
23
23
<description >Collection data files.</description >
24
24
</type >
25
+ <type name =" reflection" translate =" label,description" instance =" Magento\Framework\App\Cache\Type\Reflection" >
26
+ <label >Reflection Data</label >
27
+ <description >API interfaces reflection data.</description >
28
+ </type >
25
29
<type name =" db_ddl" translate =" label,description" instance =" Magento\Framework\DB\Adapter\DdlCache" >
26
30
<label >Database DDL operations</label >
27
31
<description >Results of DDL queries, such as describing tables or indexes.</description >
Original file line number Diff line number Diff line change 225
225
</argument >
226
226
</arguments >
227
227
</type >
228
+ <type name =" Magento\Framework\Reflection\MethodsMap" >
229
+ <arguments >
230
+ <argument name =" cache" xsi : type =" object" >Magento\Framework\App\Cache\Type\Reflection</argument >
231
+ </arguments >
232
+ </type >
228
233
<type name =" Magento\Framework\Url" >
229
234
<arguments >
230
235
<argument name =" scopeType" xsi : type =" const" >Magento\Store\Model\ScopeInterface::SCOPE_STORE</argument >
Original file line number Diff line number Diff line change 21
21
<type name =" Magento\Framework\Xml\Generator" shared =" false" />
22
22
<type name =" Magento\Framework\Xml\Parser" shared =" false" />
23
23
<type name =" Magento\Framework\Code\Scanner\DirectoryScanner" shared =" false" />
24
- <type name =" Magento\Server\Reflection" shared =" false" />
25
- <type name =" Magento\Framework\Reflection\MethodsMap" >
26
- <arguments >
27
- <argument name =" cache" xsi : type =" object" >Magento\Framework\App\Cache\Type\Webapi</argument >
28
- </arguments >
29
- </type >
30
- <type name =" Magento\Framework\Reflection\DataObjectProcessor" >
31
- <arguments >
32
- <argument name =" extensionAttributesProcessor" xsi : type =" object" >Magento\Framework\Reflection\ExtensionAttributesProcessor\Proxy</argument >
33
- <argument name =" customAttributesProcessor" xsi : type =" object" >Magento\Framework\Reflection\CustomAttributesProcessor\Proxy</argument >
34
- </arguments >
35
- </type >
36
24
<type name =" Magento\Integration\Model\ConfigBasedIntegrationManager" >
37
25
<plugin name =" webapiSetup" type =" Magento\Webapi\Model\Plugin\Manager" />
38
26
</type >
Original file line number Diff line number Diff line change 1048
1048
</argument >
1049
1049
</arguments >
1050
1050
</type >
1051
+ <type name =" Magento\Server\Reflection" shared =" false" />
1052
+ <type name =" Magento\Framework\Reflection\DataObjectProcessor" >
1053
+ <arguments >
1054
+ <argument name =" extensionAttributesProcessor" xsi : type =" object" >Magento\Framework\Reflection\ExtensionAttributesProcessor\Proxy</argument >
1055
+ <argument name =" customAttributesProcessor" xsi : type =" object" >Magento\Framework\Reflection\CustomAttributesProcessor\Proxy</argument >
1056
+ </arguments >
1057
+ </type >
1051
1058
<type name =" Magento\Framework\Url\Decoder" >
1052
1059
<arguments >
1053
1060
<argument name =" urlBuilder" xsi : type =" object" >Magento\Framework\UrlInterface</argument >
Original file line number Diff line number Diff line change
1
+ <?php
2
+ /**
3
+ * Copyright © 2015 Magento. All rights reserved.
4
+ * See COPYING.txt for license details.
5
+ */
6
+ namespace Magento \Framework \App \Cache \Type ;
7
+
8
+ /**
9
+ * System / Cache Management / Cache type "Reflection Data"
10
+ */
11
+ class Reflection extends \Magento \Framework \Cache \Frontend \Decorator \TagScope
12
+ {
13
+ /**
14
+ * Cache type code unique among all cache types
15
+ */
16
+ const TYPE_IDENTIFIER = 'reflection ' ;
17
+
18
+ /**
19
+ * Cache tag used to distinguish the cache type from all other cache
20
+ */
21
+ const CACHE_TAG = 'REFLECTION ' ;
22
+
23
+ /**
24
+ * @param \Magento\Framework\App\Cache\Type\FrontendPool $cacheFrontendPool
25
+ */
26
+ public function __construct (\Magento \Framework \App \Cache \Type \FrontendPool $ cacheFrontendPool )
27
+ {
28
+ parent ::__construct ($ cacheFrontendPool ->get (self ::TYPE_IDENTIFIER ), self ::CACHE_TAG );
29
+ }
30
+ }
You can’t perform that action at this time.
0 commit comments