File tree Expand file tree Collapse file tree 2 files changed +11
-7
lines changed
Expand file tree Collapse file tree 2 files changed +11
-7
lines changed Original file line number Diff line number Diff line change 11{
22 "name" : " php-etl/csv-plugin" ,
33 "description" : " Plugins for CSV Extractor and Loader" ,
4- "type" : " satellite -plugin" ,
4+ "type" : " gyroscops -plugin" ,
55 "license" : " MIT" ,
66 "authors" : [
77 {
4141 "branch-alias" : {
4242 "dev-master" : " 0.4.x-dev"
4343 },
44- "satellite " : {
45- "class " : " Kiboko\\ Plugin\\ CSV\\ Service"
44+ "gyroscops " : {
45+ "plugins " : [ " Kiboko\\ Plugin\\ CSV\\ Service" ]
4646 }
4747 },
4848 "config" : {
Original file line number Diff line number Diff line change 33namespace Kiboko \Plugin \CSV ;
44
55use Kiboko \Contract \Configurator ;
6- use Symfony \Component \Config \Definition \ConfigurationInterface ;
76use Symfony \Component \Config \Definition \Exception as Symfony ;
87use Symfony \Component \Config \Definition \Processor ;
98use Symfony \Component \ExpressionLanguage \ExpressionLanguage ;
1817 "loader " => "loader " ,
1918 ],
2019)]
21- final class Service implements Configurator \FactoryInterface
20+ final class Service implements Configurator \PipelinePluginInterface
2221{
2322 private Processor $ processor ;
24- private ConfigurationInterface $ configuration ;
23+ private Configurator \ PluginConfigurationInterface $ configuration ;
2524 private ExpressionLanguage $ interpreter ;
2625
2726 public function __construct (?ExpressionLanguage $ interpreter = null )
@@ -31,7 +30,12 @@ public function __construct(?ExpressionLanguage $interpreter = null)
3130 $ this ->interpreter = $ interpreter ?? new ExpressionLanguage ();
3231 }
3332
34- public function configuration (): ConfigurationInterface
33+ public function interpreter (): ExpressionLanguage
34+ {
35+ return $ this ->interpreter ;
36+ }
37+
38+ public function configuration (): Configurator \PluginConfigurationInterface
3539 {
3640 return $ this ->configuration ;
3741 }
You can’t perform that action at this time.
0 commit comments