/**
  * Sets run context.
  *
  * Grrrrr, we can not overwrite the parent one.
  *
  * @param ContextInterface $context
  */
 public function setContext(ContextInterface $context)
 {
     $this->moodlecontext = $context;
     parent::setContext($context);
 }
 /**
  * Sets run context.
  *
  * @param ContextInterface $context
  */
 public function setContext(ContextInterface $context)
 {
     // Must set the parent context too
     parent::setContext($context);
     $this->context = $context;
 }