Permalink
Browse files

Changed ObjectPersiter::transformToElasticaDocument from protected to…

… public to allow usage as a converter service
  • Loading branch information...
1 parent 2b858f0 commit 408b7aeebe987fe6531c110b61e45d73ce5e539f @lavoiesl lavoiesl committed May 29, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 Persister/ObjectPersister.php
View
2 Persister/ObjectPersister.php
@@ -100,7 +100,7 @@ public function insertMany(array $objects)
* @param object $object
* @return Elastica_Document the elastica document
*/
- protected function transformToElasticaDocument($object)
+ public function transformToElasticaDocument($object)
{
return $this->transformer->transform($object, $this->fields);
}

0 comments on commit 408b7ae

Please sign in to comment.