public function correlate(ScopedContainerInterface $container) { parent::correlate($container); $this->bindFactoryProxy(HtmlDocument::class, function () { return $this->context; }); }
/** * Destroy all contextual instances within the scope of the given execution. * * @param VirtualExecution $execution */ public function destroyContext(VirtualExecution $execution) { return parent::unbindContext($execution); }