Mercurial > hg > isophonics-drupal-site
comparison vendor/zendframework/zend-stdlib/src/StringWrapper/Intl.php @ 12:7a779792577d
Update Drupal core to v8.4.5 (via Composer)
author | Chris Cannam |
---|---|
date | Fri, 23 Feb 2018 15:52:07 +0000 |
parents | 4c8ae668cc8c |
children |
comparison
equal
deleted
inserted
replaced
11:bfffd8d7479a | 12:7a779792577d |
---|---|
35 * | 35 * |
36 * @throws Exception\ExtensionNotLoadedException | 36 * @throws Exception\ExtensionNotLoadedException |
37 */ | 37 */ |
38 public function __construct() | 38 public function __construct() |
39 { | 39 { |
40 if (!extension_loaded('intl')) { | 40 if (! extension_loaded('intl')) { |
41 throw new Exception\ExtensionNotLoadedException( | 41 throw new Exception\ExtensionNotLoadedException( |
42 'PHP extension "intl" is required for this wrapper' | 42 'PHP extension "intl" is required for this wrapper' |
43 ); | 43 ); |
44 } | 44 } |
45 } | 45 } |