/**
  * Initializes provided context.
  *
  * @param Context $context
  */
 public function initializeContext(Context $context)
 {
     if (!$context instanceof CollectionAwareContextInterface) {
         return;
     }
     $context->setTerminalCollection($this->collection);
     $context->setTerminalDefaultAlias($this->defaultAlias);
 }