From 0e757f656f56b57e1a24c5842fcdb8dccddf8b0c Mon Sep 17 00:00:00 2001 From: Caen De Silva Date: Mon, 18 Dec 2023 12:01:00 +0100 Subject: [PATCH] Revert "Add experimental `InMemoryPage::getOutputPath` overload support" This reverts commit 697e016fb300334e602576084775d28fd5b81d59. See https://github.com/hydephp/develop/pull/1498/files#r1429894023 --- RELEASE_NOTES.md | 2 +- packages/framework/src/Pages/InMemoryPage.php | 10 ---------- 2 files changed, 1 insertion(+), 11 deletions(-) diff --git a/RELEASE_NOTES.md b/RELEASE_NOTES.md index 599dcd1e614..011f4567940 100644 --- a/RELEASE_NOTES.md +++ b/RELEASE_NOTES.md @@ -10,7 +10,7 @@ This serves two purposes: 2. At release time, you can move the Unreleased section changes into a new release version section. ### Added -- Add experimental `InMemoryPage::getOutputPath` overload support +- for new features. ### Changed - Changed how the documentation search is generated, to be an `InMemoryPage` instead of a post-build task. diff --git a/packages/framework/src/Pages/InMemoryPage.php b/packages/framework/src/Pages/InMemoryPage.php index 56a429344e2..541e9356ec9 100644 --- a/packages/framework/src/Pages/InMemoryPage.php +++ b/packages/framework/src/Pages/InMemoryPage.php @@ -82,16 +82,6 @@ public function getBladeView(): string return $this->view; } - /** @experimental Get the path to the output file for the page. */ - public function getOutputPath(): string - { - if ($this->hasMacro('getOutputPath')) { - return $this->__call('getOutputPath', []); - } - - return parent::getOutputPath(); - } - /** * Get the contents that will be saved to disk for this page. *