/** * Initializes provided context. * * @param Context $context */ public function initializeContext(Context $context) { if ($context instanceof BasicHttpAuthContextInterface) { $context->setBasicHttpAuthParameters($this->parameters); } }