Cartalyst\Sentinel\Permissions\PermissibleTrait::removePermission PHP Method

removePermission() public method

{@inheritDoc}
public removePermission ( $permission )
    public function removePermission($permission)
    {
        if (array_key_exists($permission, $this->permissions)) {
            $permissions = $this->permissions;
            unset($permissions[$permission]);
            $this->permissions = $permissions;
        }
        return $this;
    }