diff --git a/system/src/Grav/Common/Page/Page.php b/system/src/Grav/Common/Page/Page.php index be17ede50..97d7259bf 100644 --- a/system/src/Grav/Common/Page/Page.php +++ b/system/src/Grav/Common/Page/Page.php @@ -1180,73 +1180,6 @@ class Page return $children; } - /** - * @throws \Exception - * @deprecated - */ - public function count() - { - throw new \Exception('Use $page->children()->count() instead.'); - } - - /** - * @param $key - * @throws \Exception - * @deprecated - */ - public function __get($key) - { - throw new \Exception('Use $page->children()->__get() instead.'); - } - - /** - * @param $key - * @param $value - * @throws \Exception - * @deprecated - */ - public function __set($key, $value) - { - throw new \Exception('Use $page->children()->__set() instead.'); - } - - /** - * @throws \Exception - * @deprecated - */ - public function current() - { - throw new \Exception('Use $page->children()->current() instead.'); - } - - /** - * @throws \Exception - * @deprecated - */ - public function next() - { - throw new \Exception('Use $page->children()->next() instead.'); - } - - /** - * @throws \Exception - * @deprecated - */ - public function prev() - { - throw new \Exception('Use $page->children()->prev() instead.'); - } - - /** - * @param string $key - * @throws \Exception - * @deprecated - */ - public function nth($key) - { - throw new \Exception('Use $page->children()->nth($position) instead.'); - } - /** * Check to see if this item is the first in an array of sub-pages. *