File tree Expand file tree Collapse file tree 2 files changed +11
-8
lines changed
Expand file tree Collapse file tree 2 files changed +11
-8
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " php-etl/fast-map-plugin" ,
33 "description" : " Adapters for the Fast Map mapping library" ,
4- "type" : " satellite -plugin" ,
4+ "type" : " gyroscops -plugin" ,
55 "license" : " MIT" ,
66 "authors" : [
77 {
4646 "branch-alias" : {
4747 "dev-master" : " 0.6.x-dev"
4848 },
49- "satellite " : {
50- "class " : " Kiboko\\ Plugin\\ FastMap\\ Service"
49+ "gyroscops " : {
50+ "plugins " : [ " Kiboko\\ Plugin\\ FastMap\\ Service" ]
5151 }
5252 },
5353 "config" : {
Original file line number Diff line number Diff line change 66use Kiboko \Plugin \FastMap \Factory ;
77use Kiboko \Contract \Configurator \InvalidConfigurationException ;
88use Kiboko \Contract \Configurator \ConfigurationExceptionInterface ;
9- use Kiboko \Contract \Configurator \FactoryInterface ;
10- use Symfony \Component \Config \Definition \ConfigurationInterface ;
119use Symfony \Component \Config \Definition \Exception as Symfony ;
1210use Symfony \Component \Config \Definition \Processor ;
1311use Symfony \Component \ExpressionLanguage \ExpressionLanguage ;
2321 null => "transformer " ,
2422 ],
2523)]
26- final class Service implements FactoryInterface
24+ final class Service implements Configurator \PipelinePluginInterface
2725{
2826 private Processor $ processor ;
29- private ConfigurationInterface $ configuration ;
27+ private Configurator \ PluginConfigurationInterface $ configuration ;
3028 private ExpressionLanguage $ interpreter ;
3129
3230 public function __construct (
@@ -38,7 +36,12 @@ public function __construct(
3836 $ this ->interpreter = $ interpreter ?? new ExpressionLanguage ();
3937 }
4038
41- public function configuration (): ConfigurationInterface
39+ public function interpreter (): ExpressionLanguage
40+ {
41+ return $ this ->interpreter ;
42+ }
43+
44+ public function configuration (): Configurator \PluginConfigurationInterface
4245 {
4346 return $ this ->configuration ;
4447 }
You can’t perform that action at this time.
0 commit comments