| 1 | <?php |
||
| 16 | class NormalizerProcessor extends AbstractConfigurableStepElement implements ItemProcessorInterface |
||
| 17 | { |
||
| 18 | /** @var NormalizerInterface */ |
||
| 19 | protected $normalizer; |
||
| 20 | |||
| 21 | /** @var string */ |
||
| 22 | protected $format; |
||
| 23 | |||
| 24 | /** @var array */ |
||
| 25 | protected $context; |
||
| 26 | |||
| 27 | /** |
||
| 28 | * @param NormalizerInterface $normalizer |
||
| 29 | * @param string $format |
||
| 30 | * @param array $context |
||
| 31 | */ |
||
| 32 | public function __construct(NormalizerInterface $normalizer, $format, array $context = array()) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * {@inheritdoc} |
||
| 41 | */ |
||
| 42 | public function getConfigurationFields() |
||
| 46 | |||
| 47 | /** |
||
| 48 | * {@inheritdoc} |
||
| 49 | */ |
||
| 50 | public function process($item) |
||
| 54 | } |
||
| 55 |