File tree Expand file tree Collapse file tree 5 files changed +33
-2
lines changed Expand file tree Collapse file tree 5 files changed +33
-2
lines changed 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 \Search \Api ;
7
+
8
+ use Magento \Framework \Api \Search \SearchInterface as FrameworkSearchInterface ;
9
+
10
+ /**
11
+ * Search API for all requests
12
+ */
13
+ interface SearchInterface extends FrameworkSearchInterface
14
+ {
15
+ }
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 \Search \Model ;
7
+
8
+ use Magento \Framework \Search \Search as FrameworkSearch ;
9
+ use Magento \Search \Api \SearchInterface ;
10
+
11
+ /**
12
+ * Search extended implementation for WebApi
13
+ */
14
+ class Search extends FrameworkSearch implements SearchInterface
15
+ {
16
+ }
Original file line number Diff line number Diff line change 7
7
-->
8
8
<config xmlns : xsi =" http://www.w3.org/2001/XMLSchema-instance"
9
9
xsi : noNamespaceSchemaLocation =" urn:magento:framework:ObjectManager/etc/config.xsd" >
10
+ <preference for =" Magento\Search\Api\SearchInterface" type =" Magento\Search\Model\Search" />
10
11
<type name =" Magento\Framework\Module\Setup\Migration" >
11
12
<arguments >
12
13
<argument name =" compositeModules" xsi : type =" array" >
Original file line number Diff line number Diff line change 9
9
xsi : noNamespaceSchemaLocation =" urn:magento:module:Magento_Webapi:etc/webapi.xsd" >
10
10
11
11
<route url =" /V1/search" method =" GET" >
12
- <service class =" Magento\Framework \Api\Search \SearchInterface" method =" search" />
12
+ <service class =" Magento\Search \Api\SearchInterface" method =" search" />
13
13
<resources >
14
14
<resource ref =" anonymous" />
15
15
</resources >
Original file line number Diff line number Diff line change 139
139
<preference for =" Magento\Framework\Api\ImageProcessorInterface" type =" Magento\Framework\Api\ImageProcessor" />
140
140
<preference for =" Magento\Framework\Code\Reader\ClassReaderInterface" type =" Magento\Framework\Code\Reader\ClassReader" />
141
141
<preference for =" Magento\Framework\Stdlib\DateTime\DateTimeFormatterInterface" type =" Magento\Framework\Stdlib\DateTime\DateTimeFormatter" />
142
- <preference for =" Magento\Framework\Api\Search\SearchInterface" type =" Magento\Framework\Search\Search" />
143
142
<type name =" Magento\Framework\Model\ResourceModel\Db\TransactionManager" shared =" false" />
144
143
<type name =" Magento\Framework\Logger\Handler\Base" >
145
144
<arguments >
You can’t perform that action at this time.
0 commit comments