1 | <?php |
||
22 | class QueryCustomizeServiceProvider implements ServiceProviderInterface, BootableProviderInterface |
||
23 | { |
||
24 | public function register(Container $app) |
||
25 | { |
||
26 | $app['plugin.query_customize.customer_search'] = function (Container $container) { |
||
27 | return new AdminCustomerCustomizer(); |
||
28 | }; |
||
29 | } |
||
30 | |||
31 | public function boot(Application $app) |
||
32 | { |
||
33 | $app['eccube.queries'] |
||
34 | ->addCustomizer($app['plugin.query_customize.customer_search']); |
||
35 | } |
||
36 | } |
||
37 |