TASK: Do not publish internal method

This commit is contained in:
Daniel Siepmann 2018-12-30 14:01:45 +01:00
parent 1efb06d84b
commit a6f7f31274
Signed by: Daniel Siepmann
GPG key ID: 33D6629915560EF4
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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``: