/** * @inheritdoc */ protected function addItem($item) { parent::addItem($item); if ($this->_items !== null) { $this->_items[$item->name] = $item; } $this->invalidate(self::PART_ITEMS); return true; }
/** * @inheritdoc */ protected function addItem($item) { parent::addItem($item); if ($this->_items !== null) { $this->_items[$item->name] = $item; } $this->invalidate(self::PART_ITEMS); return true; }