You are here

public static function StringUtils::unregisterWrapper in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-stdlib/src/StringUtils.php \Zend\Stdlib\StringUtils::unregisterWrapper()

Unregister a string wrapper class

Parameters

string $wrapper:

Return value

void

File

vendor/zendframework/zend-stdlib/src/StringUtils.php, line 98

Class

StringUtils
Utility class for handling strings of different character encodings using available PHP extensions.

Namespace

Zend\Stdlib

Code

public static function unregisterWrapper($wrapper) {
  $index = array_search((string) $wrapper, static::$wrapperRegistry, true);
  if ($index !== false) {
    unset(static::$wrapperRegistry[$index]);
  }
}