/** * {@inheritdoc} */ public function process(ContextInterface $context) { /** @var ConfigContext $context */ if ($context->hasSorters()) { // a sorters' definition is already built return; } $context->setSorters(ConfigUtil::getInitialConfig()); }