public static function createEditorRole($force = false)
    {
        if(!$force) {
            if(Permission::exists('global', 'editor')) {
                return false;
            }
        }

        return self::createRole(
            'Editor', true, [[
            'app' => 'global',
            'key' => 'editor'
            ]]
        );
    }
public static function createEditorRole($force = false)
    {
        if(!$force) {
            if(Permission::exists('global', 'editor')) {
                return false;
            }
        }

        return self::createRole(
            'Editor', true, [[
            'app' => 'global',
            'key' => 'editor'
            ]]
        );
    }
public static function createEditorRole ( $ force = false ) { if ( ! $ force ) { if ( Permission :: exists ( 'global' , 'editor' ) ) { return false ; } } return self :: createRole ( 'Editor' , true , [ [ 'app' => 'global' , 'key' => 'editor' ] ] ) ; }
Create an Editor role.

@param  bool $force Create editor role even if it exist
@return bool
Create an Editor role .