* @git Kumwe CMS * @license GNU General Public License version 2; see LICENSE.txt */ namespace Kumwe\CMS\Model\Util; /** * Class for getting page data * * @since 1.0.0 */ interface PageInterface { /** * Get page data * * @param string $path The page path * * @return \stdClass * * @throws \RuntimeException */ public function getPageItemByPath(string $path): \stdClass; /** * Get page data * * @param int $item The item id * * @return \stdClass * * @throws \RuntimeException */ public function getPageItemById(int $item): \stdClass; }