Ojs\JournalBundle\Entity\JournalUser::removeRole PHP 메소드

removeRole() 공개 메소드

public removeRole ( Role $role )
$role Ojs\UserBundle\Entity\Role
    public function removeRole(Role $role)
    {
        if ($this->roles->contains($role)) {
            $this->roles->removeElement($role);
        }
        return $this;
    }