public function revokePermission($permission)
    {
        return $this->mapArray($permission, function ($permission) {

            $permissionId = $this->parsePermissionId($permission);

            return $this->permissions()->detach($permissionId);
        });
    }
public function revokePermission($permission)
    {
        return $this->mapArray($permission, function ($permission) {

            $permissionId = $this->parsePermissionId($permission);

            return $this->permissions()->detach($permissionId);
        });
    }
public function revokePermission ( $ permission ) { return $ this -> mapArray ( $ permission , function ( $ permission ) { $ permissionId = $ this -> parsePermissionId ( $ permission ) ; return $ this -> permissions ( ) -> detach ( $ permissionId ) ; } ) ; }
Revokes the given permission from the user.

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