From f7240751aa002a50cf2d6f28ce6dead17949ba1a Mon Sep 17 00:00:00 2001 From: Nico Hoffmann Date: Thu, 12 Sep 2024 20:31:09 +0200 Subject: [PATCH] Mark methods as internal --- src/Cms/FileActions.php | 1 + src/Cms/PageActions.php | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/src/Cms/FileActions.php b/src/Cms/FileActions.php index f6d57fb3a3..f701e50b82 100644 --- a/src/Cms/FileActions.php +++ b/src/Cms/FileActions.php @@ -185,6 +185,7 @@ protected function commit( /** * Copy the file to the given page + * @internal */ public function copy(Page $page): static { diff --git a/src/Cms/PageActions.php b/src/Cms/PageActions.php index a9a7a76fbc..4145692428 100644 --- a/src/Cms/PageActions.php +++ b/src/Cms/PageActions.php @@ -431,6 +431,8 @@ protected function commit( * Copies the page to a new parent * * @throws \Kirby\Exception\DuplicateException If the page already exists + * + * @internal */ public function copy(array $options = []): static { @@ -762,6 +764,7 @@ public function move(Site|Page $parent): Page /** * @return $this|static * @throws \Kirby\Exception\LogicException If the folder cannot be moved + * @internal */ public function publish(): static { @@ -913,6 +916,7 @@ public function save( /** * Convert a page from listed or * unlisted to draft. + * @internal * * @return $this|static * @throws \Kirby\Exception\LogicException If the folder cannot be moved