You are here

public function GroupSequence::offsetUnset in Plug 7

Removes the group at the given offset.

Parameters

int $offset The offset:

Deprecated

Implemented for backwards compatibility with Symfony < 2.5. To be removed in Symfony 3.0.

File

lib/Symfony/validator/Symfony/Component/Validator/Constraints/GroupSequence.php, line 179

Class

GroupSequence
A sequence of validation groups.

Namespace

Symfony\Component\Validator\Constraints

Code

public function offsetUnset($offset) {
  unset($this->groups[$offset]);
}