Changed ObjectPersiter::transformToElasticaDocument from protected to public to allow usage as a converter service
This commit is contained in:
parent
2b858f0e42
commit
408b7aeebe
1 changed files with 1 additions and 1 deletions
|
|
@ -100,7 +100,7 @@ class ObjectPersister implements ObjectPersisterInterface
|
|||
* @param object $object
|
||||
* @return Elastica_Document the elastica document
|
||||
*/
|
||||
protected function transformToElasticaDocument($object)
|
||||
public function transformToElasticaDocument($object)
|
||||
{
|
||||
return $this->transformer->transform($object, $this->fields);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue