public function attachCell($key, Cell $cell) { $cell->setParent($this)->setRoot($this->getRoot()); $this->set($key, $cell); return $this; }