enabled() public static method

Determines if this adapter is enabled by checking if the intl extension is loaded.
public static enabled ( ) : boolean
return boolean Returns `true` if enabled, otherwise `false`.
Beispiel #1
0
 public function skip()
 {
     $this->skipIf(!Intl::enabled(), 'The `Intl` adapter is not enabled.');
 }