1 | <?php |
||
32 | class ConfigurationDebugCommand extends Command |
||
33 | { |
||
34 | /** |
||
35 | * @var SourcesRegistryInterface |
||
36 | */ |
||
37 | protected $sourcesRegistry; |
||
38 | |||
39 | /** |
||
40 | * @var ProcessorsRegistryInterface |
||
41 | */ |
||
42 | protected $processorsRegistry; |
||
43 | |||
44 | /** |
||
45 | * @var RatesConfigurationRegistryInterface |
||
46 | */ |
||
47 | protected $ratesConfigurationRegistry; |
||
48 | |||
49 | /** |
||
50 | * @var RepositoryInterface |
||
51 | */ |
||
52 | protected $repository; |
||
53 | |||
54 | public function __construct( |
||
66 | |||
67 | /** |
||
68 | * {@inheritdoc} |
||
69 | */ |
||
70 | protected function configure() |
||
77 | |||
78 | /** |
||
79 | * {@inheritdoc} |
||
80 | */ |
||
81 | protected function execute(InputInterface $input, OutputInterface $output) |
||
101 | |||
102 | /** |
||
103 | * Display sources. |
||
104 | * |
||
105 | * @param OutputStyle $outputStyle Console output style. |
||
106 | * @return ConfigurationDebugCommand $this |
||
107 | */ |
||
108 | protected function displaySources(OutputStyle $outputStyle) |
||
120 | |||
121 | /** |
||
122 | * Display processors. |
||
123 | * |
||
124 | * @param OutputStyle $outputStyle Console output style. |
||
125 | * @return ConfigurationDebugCommand $this |
||
126 | */ |
||
127 | protected function displayProcessors(OutputStyle $outputStyle) |
||
139 | |||
140 | /** |
||
141 | * Display repository. |
||
142 | * |
||
143 | * @param OutputStyle $outputStyle Console output style. |
||
144 | * @return ConfigurationDebugCommand $this |
||
145 | */ |
||
146 | protected function displayRepository(OutputStyle $outputStyle) |
||
154 | |||
155 | /** |
||
156 | * Display rates. |
||
157 | * |
||
158 | * @param OutputStyle $outputStyle Console output style. |
||
159 | * @return ConfigurationDebugCommand $this |
||
160 | */ |
||
161 | protected function displayRates(OutputStyle $outputStyle) |
||
183 | |||
184 | |||
185 | /** |
||
186 | * Display new line. |
||
187 | * |
||
188 | * @param OutputStyle $outputStyle Console output style. |
||
189 | * @return ConfigurationDebugCommand $this |
||
190 | */ |
||
191 | protected function displayNewLine(OutputStyle $outputStyle) |
||
196 | } |
||
197 |