/** * {@inheritdoc} */ public function offsetUnset($offset) { parent::offsetUnset($offset); $this->sort(); }
/** * {@inheritdoc} */ public function remove($element) { $this->checkType($element); $this->collection->remove($element); }