From a6f7f31274975dcefe2d07f9137cef896f882367 Mon Sep 17 00:00:00 2001 From: Daniel Siepmann Date: Sun, 30 Dec 2018 14:01:45 +0100 Subject: [PATCH] TASK: Do not publish internal method --- Classes/Domain/Index/AbstractIndexer.php | 2 +- Classes/Domain/Index/TcaIndexer.php | 2 +- .../source/changelog/0.1.0/2018-changed-interfaces.rst | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/Classes/Domain/Index/AbstractIndexer.php b/Classes/Domain/Index/AbstractIndexer.php index 7eae615..0172c12 100644 --- a/Classes/Domain/Index/AbstractIndexer.php +++ b/Classes/Domain/Index/AbstractIndexer.php @@ -208,5 +208,5 @@ abstract class AbstractIndexer implements IndexerInterface abstract protected function getDocumentName(): string; - abstract public function getDocumentIdentifier($identifier): string; + abstract protected function getDocumentIdentifier($identifier): string; } diff --git a/Classes/Domain/Index/TcaIndexer.php b/Classes/Domain/Index/TcaIndexer.php index e1b03b7..0c1d00d 100644 --- a/Classes/Domain/Index/TcaIndexer.php +++ b/Classes/Domain/Index/TcaIndexer.php @@ -89,7 +89,7 @@ class TcaIndexer extends AbstractIndexer return $this->tcaTableService->getTableName(); } - public function getDocumentIdentifier($identifier): string + protected function getDocumentIdentifier($identifier): string { return $this->getDocumentName() . '-' . $identifier; } diff --git a/Documentation/source/changelog/0.1.0/2018-changed-interfaces.rst b/Documentation/source/changelog/0.1.0/2018-changed-interfaces.rst index 669c776..93d5c81 100644 --- a/Documentation/source/changelog/0.1.0/2018-changed-interfaces.rst +++ b/Documentation/source/changelog/0.1.0/2018-changed-interfaces.rst @@ -15,7 +15,7 @@ Some interfaces and abstract classes have been adjusted: ``Codappix\SearchCore\Domain\Index\AbstractIndexer``: - * New method ``abstract public function getDocumentIdentifier($identifier): string;`` + * New method ``abstract protected function getDocumentIdentifier($identifier): string;`` ``Codappix\SearchCore\Connection\SearchRequestInterface``: