/** * @return ItemInterface */ public function getParentItem() { return $this->collection->getParentItem(); }
/** * {@inheritdoc} */ public function getParent() { return $this->parentCollection ? $this->parentCollection->getParentItem() : null; }