File tree Expand file tree Collapse file tree 2 files changed +30
-1
lines changed
Expand file tree Collapse file tree 2 files changed +30
-1
lines changed Original file line number Diff line number Diff line change 22 "name" : " micro/kernel-boot-configuration" ,
33 "description" : " Micro Framework: Kernel Boot loader - component to provide plugin configuration" ,
44 "type" : " library" ,
5- "version" : " 1.2 " ,
5+ "version" : " 1.3 " ,
66 "require" : {
77 "micro/kernel" : " ^1"
88 },
Original file line number Diff line number Diff line change 1+ <?php
2+
3+ namespace Micro \Framework \Kernel \Plugin ;
4+
5+ use Micro \Framework \Kernel \Configuration \PluginConfigurationInterface ;
6+
7+ trait PluginConfigurationTrait
8+ {
9+ /**
10+ * @var PluginConfigurationInterface
11+ */
12+ private PluginConfigurationInterface $ configuration ;
13+
14+ /**
15+ * {@inheritDoc}
16+ */
17+ public function setConfiguration (PluginConfigurationInterface $ pluginConfiguration ): void
18+ {
19+ $ this ->configuration = $ pluginConfiguration ;
20+ }
21+
22+ /**
23+ * {@inheritDoc}
24+ */
25+ public function configuration (): PluginConfigurationInterface
26+ {
27+ return $ this ->configuration ;
28+ }
29+ }
You can’t perform that action at this time.
0 commit comments