You are here

public function Intl::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php \Zend\Stdlib\StringWrapper\Intl::__construct()

Constructor

Throws

Exception\ExtensionNotLoadedException

File

vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php, line 38

Class

Intl

Namespace

Zend\Stdlib\StringWrapper

Code

public function __construct() {
  if (!extension_loaded('intl')) {
    throw new Exception\ExtensionNotLoadedException('PHP extension "intl" is required for this wrapper');
  }
}