File tree Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Expand file tree Collapse file tree 1 file changed +10
-1
lines changed Original file line number Diff line number Diff line change 20
20
use Micro \Framework \Kernel \Plugin \ConfigurableInterface ;
21
21
use Micro \Framework \Kernel \Plugin \DependencyProviderInterface ;
22
22
use Micro \Framework \Kernel \Plugin \PluginConfigurationTrait ;
23
+ use Micro \Framework \Kernel \Plugin \PluginDependedInterface ;
23
24
use Micro \Plugin \Http \Business \Executor \RouteExecutorFactory ;
24
25
use Micro \Plugin \Http \Business \Executor \RouteExecutorFactoryInterface ;
25
26
use Micro \Plugin \Http \Business \Generator \UrlGeneratorFactory ;
39
40
use Micro \Plugin \Http \Configuration \HttpCorePluginConfigurationInterface ;
40
41
use Micro \Plugin \Http \Facade \HttpFacade ;
41
42
use Micro \Plugin \Http \Facade \HttpFacadeInterface ;
43
+ use Micro \Plugin \Locator \LocatorPlugin ;
42
44
43
45
/**
44
46
* @author Stanislau Komar <[email protected] >
45
47
*
46
48
* @method HttpCorePluginConfigurationInterface configuration()
47
49
*/
48
- class HttpCorePlugin implements DependencyProviderInterface, ConfigurableInterface
50
+ class HttpCorePlugin implements DependencyProviderInterface, ConfigurableInterface, PluginDependedInterface
49
51
{
50
52
use PluginConfigurationTrait;
51
53
@@ -152,4 +154,11 @@ protected function createRouteExecutorFactory(
152
154
$ this ->createResponseCallbackFactory (),
153
155
);
154
156
}
157
+
158
+ public function getDependedPlugins (): iterable
159
+ {
160
+ return [
161
+ LocatorPlugin::class,
162
+ ];
163
+ }
155
164
}
You can’t perform that action at this time.
0 commit comments