/** * @inheritdoc */ public function add($e) { $t = parent::add($e); $this->ensureCapacity($t); return $t; }
/** * @inherit */ public function addIn($index, $element) { parent::addIn($index, $element); $this->associateIndex($this->lastIndex, $index); }