Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions app/code/Magento/Store/Api/Data/StoreInterface.php
Original file line number Diff line number Diff line change
Expand Up @@ -101,4 +101,12 @@ public function getExtensionAttributes();
public function setExtensionAttributes(
\Magento\Store\Api\Data\StoreExtensionInterface $extensionAttributes
);

/**
* Retrieve root category identifier
*
* @return int
* @throws \Magento\Framework\Exception\NoSuchEntityException
*/
public function getRootCategoryId();
}
5 changes: 1 addition & 4 deletions app/code/Magento/Store/Model/Store.php
Original file line number Diff line number Diff line change
Expand Up @@ -1007,10 +1007,7 @@ public function getCurrentCurrencyRate()
}

/**
* Retrieve root category identifier
*
* @return int
* @throws \Magento\Framework\Exception\NoSuchEntityException
* @inheritDoc
*/
public function getRootCategoryId()
{
Expand Down