From 14eaa4d00a897f5103463191c1b6ff94925a5336 Mon Sep 17 00:00:00 2001 From: Matias Griese Date: Thu, 15 Aug 2019 19:23:05 +0300 Subject: [PATCH] Moved setSummary() from PageLegacyInterface to PageContentInterface --- .../Grav/Common/Page/Interfaces/PageContentInterface.php | 7 +++++++ .../Grav/Common/Page/Interfaces/PageLegacyInterface.php | 7 ------- 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php b/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php index 49dca7d40..045d46123 100644 --- a/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php +++ b/system/src/Grav/Common/Page/Interfaces/PageContentInterface.php @@ -36,6 +36,13 @@ interface PageContentInterface */ public function summary($size = null, $textOnly = false); + /** + * Sets the summary of the page + * + * @param string $summary Summary + */ + public function setSummary($summary); + /** * Gets and Sets the content based on content portion of the .md file * diff --git a/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php b/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php index abe6167d2..0ace98b4a 100644 --- a/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php +++ b/system/src/Grav/Common/Page/Interfaces/PageLegacyInterface.php @@ -51,13 +51,6 @@ interface PageLegacyInterface public function httpHeaders(); - /** - * Sets the summary of the page - * - * @param string $summary Summary - */ - public function setSummary($summary); - /** * Get the contentMeta array and initialize content first if it's not already *