Sulu\Bundle\SecurityBundle\Entity\Role::removeSetting PHP Method

removeSetting() public method

Remove setting.
public removeSetting ( Sulu\Component\Security\Authentication\RoleSettingInterface $setting )
$setting Sulu\Component\Security\Authentication\RoleSettingInterface
    public function removeSetting(RoleSettingInterface $setting)
    {
        $this->settings->remove($setting->getKey());
    }