lithium\g11n\multibyte\adapter\Mbstring::enabled PHP Method

enabled() public static method

Determines if this adapter is enabled by checking if the mbstring extension is loaded.
public static enabled ( ) : boolean
return boolean Returns `true` if enabled, otherwise `false`.
    public static function enabled()
    {
        return extension_loaded('mbstring');
    }

Usage Example

 public function skip()
 {
     $this->skipIf(!Mbstring::enabled(), 'The `Mbstring` adapter is not enabled.');
 }