Lines Matching full:group
40 * Class \Hoa\Exception\Group.
42 * This is an exception that contains a group of exceptions.
47 class Group extends Exception implements \ArrayAccess, \IteratorAggregate, \Countable class
111 * @return \Hoa\Exception\Group
123 * @return \Hoa\Exception\Group
139 * @return \Hoa\Exception\Group
169 * Check if an index in the group exists.
176 foreach ($this->_group as $group) {
177 if (isset($group[$index])) {
186 * Get an exception from the group.
193 foreach ($this->_group as $group) {
194 if (isset($group[$index])) {
195 return $group[$index];
203 * Set an exception in the group.
215 $group = $this->_group->top();
219 $group[] = $exception;
221 $group[$index] = $exception;
228 * Remove an exception in the group.
235 foreach ($this->_group as $group) {
236 if (isset($group[$index])) {
237 unset($group[$index]);
245 * Get committed exceptions in the group.