@@ 118-129 (lines=12) @@ | ||
115 | * @param OutputInterface $output |
|
116 | * @return ConfigurationDebugCommand $this |
|
117 | */ |
|
118 | protected function displaySources(OutputInterface $output) |
|
119 | { |
|
120 | $this->sfStyle->section('Sources:'); |
|
121 | /** |
|
122 | * @var SourceInterface $source |
|
123 | */ |
|
124 | foreach ($this->sourcesRegistry as $source) { |
|
125 | $output->writeln(' -> ' . sprintf('%s as %s', get_class($source), $source->getName())); |
|
126 | } |
|
127 | ||
128 | return $this; |
|
129 | } |
|
130 | ||
131 | /** |
|
132 | * Display processors. |
|
@@ 137-148 (lines=12) @@ | ||
134 | * @param OutputInterface $output |
|
135 | * @return ConfigurationDebugCommand $this |
|
136 | */ |
|
137 | protected function displayProcessors(OutputInterface $output) |
|
138 | { |
|
139 | $this->sfStyle->section('Processors:'); |
|
140 | /** |
|
141 | * @var ProcessorInterface $processor |
|
142 | */ |
|
143 | foreach ($this->processorsRegistry as $processor) { |
|
144 | $output->writeln(' -> ' . get_class($processor)); |
|
145 | } |
|
146 | ||
147 | return $this; |
|
148 | } |
|
149 | ||
150 | /** |
|
151 | * Display repository. |