original_string: public static function drop($config)
      {
          if (!isset(static::$_config[$config])) {
              return false;
          }
          if (isset(static::$_registry)) {
              static::$_registry->unload($config);
          }
          unset(static::$_config[$config]);
  
          return true;
      }
code: public static function drop($config)
      {
          if (!isset(static::$_config[$config])) {
              return false;
          }
          if (isset(static::$_registry)) {
              static::$_registry->unload($config);
          }
          unset(static::$_config[$config]);
  
          return true;
      }
code_tokens: public static function drop ( $ config ) { if ( ! isset ( static :: $ _config [ $ config ] ) ) { return false ; } if ( isset ( static :: $ _registry ) ) { static :: $ _registry -> unload ( $ config ) ; } unset ( static :: $ _config [ $ config ] ) ; return true ; }
docstring: Drops a constructed adapter.
  
  If you wish to modify an existing configuration, you should drop it,
  change configuration and then re-add it.
  
  If the implementing objects supports a `$_registry` object the named configuration
  will also be unloaded from the registry.
  
  @param string $config An existing configuration you wish to remove.
  @return bool Success of the removal, returns false when the config does not exist.
docstring_tokens: Drops a constructed adapter .