Skip to content

Commit

Permalink
Revert "Add experimental InMemoryPage::getOutputPath overload support"
Browse files Browse the repository at this point in the history
  • Loading branch information
caendesilva committed Dec 18, 2023
1 parent b7a2537 commit 0e757f6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 11 deletions.
2 changes: 1 addition & 1 deletion RELEASE_NOTES.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.
Expand Down
10 changes: 0 additions & 10 deletions packages/framework/src/Pages/InMemoryPage.php
Original file line number Diff line number Diff line change
Expand Up @@ -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.
*
Expand Down

0 comments on commit 0e757f6

Please sign in to comment.