/** * Removes an extension helper. * * @param string $name The extension helper name. * * @throws \Ivory\GoogleMap\Exception\HelperException If the extension helper does not exist. */ public function removeExtensionHelper($name) { if (!$this->hasExtensionHelper($name)) { throw HelperException::invalidExtension($name); } unset($this->extensionHelpers[$name]); }