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