Skip to content

Commit

Permalink
Mark methods as internal
Browse files Browse the repository at this point in the history
  • Loading branch information
distantnative committed Sep 12, 2024
1 parent c6ce698 commit f724075
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/Cms/FileActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,7 @@ protected function commit(

/**
* Copy the file to the given page
* @internal
*/
public function copy(Page $page): static
{
Expand Down
4 changes: 4 additions & 0 deletions src/Cms/PageActions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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
{
Expand Down Expand Up @@ -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
{
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit f724075

Please sign in to comment.