@@ 299-305 (lines=7) @@ | ||
296 | } |
|
297 | ||
298 | $extractor = $builder->getDefinition($this->prefix('extractor')); |
|
299 | foreach ($builder->findByTag(self::TAG_EXTRACTOR) as $extractorId => $meta) { |
|
300 | Validators::assert($meta, 'string:2..'); |
|
301 | ||
302 | $extractor->addSetup('addExtractor', [$meta, '@' . $extractorId]); |
|
303 | ||
304 | $builder->getDefinition($extractorId)->setAutowired(FALSE); |
|
305 | } |
|
306 | ||
307 | $writer = $builder->getDefinition($this->prefix('writer')); |
|
308 | foreach ($builder->findByTag(self::TAG_DUMPER) as $dumperId => $meta) { |
|
@@ 308-314 (lines=7) @@ | ||
305 | } |
|
306 | ||
307 | $writer = $builder->getDefinition($this->prefix('writer')); |
|
308 | foreach ($builder->findByTag(self::TAG_DUMPER) as $dumperId => $meta) { |
|
309 | Validators::assert($meta, 'string:2..'); |
|
310 | ||
311 | $writer->addSetup('addDumper', [$meta, '@' . $dumperId]); |
|
312 | ||
313 | $builder->getDefinition($dumperId)->setAutowired(FALSE); |
|
314 | } |
|
315 | ||
316 | $this->loaders = []; |
|
317 | foreach ($builder->findByTag(self::TAG_LOADER) as $loaderId => $meta) { |