mirror of
https://github.com/Codappix/search_core.git
synced 2024-12-23 08:36:10 +01:00
TASK: Do not publish internal method
This commit is contained in:
parent
1efb06d84b
commit
a6f7f31274
3 changed files with 3 additions and 3 deletions
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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``:
|
||||
|
||||
|
|
Loading…
Reference in a new issue