public function revokeRoleBySlug($slug)
    {
        $role = Role::where('slug', $slug)->first();

        return $this->roles()->detach($role);
    }
public function revokeRoleBySlug($slug)
    {
        $role = Role::where('slug', $slug)->first();

        return $this->roles()->detach($role);
    }
public function revokeRoleBySlug ( $ slug ) { $ role = Role :: where ( 'slug' , $ slug ) -> first ( ) ; return $ this -> roles ( ) -> detach ( $ role ) ; }
Revokes the given role from the user using slug.

@param  string $slug
@return bool
Revokes the given role from the user using slug .