transform($output, $context); } return $output; } /** * {@inheritdoc} */ public function getInputValidator() { /** @var \Shaper\Transformation\TransformationValidationInterface $first_transformation */ $first_transformation = $this->bottom(); return $first_transformation->getInputValidator(); } /** * {@inheritdoc} */ public function getOutputValidator() { /** @var \Shaper\Transformation\TransformationValidationInterface $last_transformation */ $last_transformation = $this->top(); return $last_transformation->getOutputValidator(); } }