src/Environment.php
public static function is($mEnvironment)
    {
        if (is_array($mEnvironment)) {
            return array_search(static::get(), array_map('strtoupper', $mEnvironment)) !== false;
        } else {
            return static::get() === strtoupper($mEnvironment);
        }
    }
public static function is($mEnvironment)
    {
        if (is_array($mEnvironment)) {
            return array_search(static::get(), array_map('strtoupper', $mEnvironment)) !== false;
        } else {
            return static::get() === strtoupper($mEnvironment);
        }
    }
public static function is ( $ mEnvironment ) { if ( is_array ( $ mEnvironment ) ) { return array_search ( static :: get ( ) , array_map ( 'strtoupper' , $ mEnvironment ) ) !== false ; } else { return static :: get ( ) === strtoupper ( $ mEnvironment ) ; } }
Returns whether the environment is the supplied environment

@param  array|string $mEnvironment The environment(s) to query

@return boolean
Returns whether the environment is the supplied environment