public function revokeRole($role)
    {
        return $this->mapArray($role, function ($role) {

            $roleId = $this->parseRoleId($role);

            return $this->roles()->detach($roleId);
        });
    }
public function revokeRole($role)
    {
        return $this->mapArray($role, function ($role) {

            $roleId = $this->parseRoleId($role);

            return $this->roles()->detach($roleId);
        });
    }
public function revokeRole ( $ role ) { return $ this -> mapArray ( $ role , function ( $ role ) { $ roleId = $ this -> parseRoleId ( $ role ) ; return $ this -> roles ( ) -> detach ( $ roleId ) ; } ) ; }
Revokes the given role from the user.

@param  collection|object|array|string|int $role
@return bool
Revokes the given role from the user .