Sets the serializer callable used in addObject.
public setSerializer ( array | string $serializer ) | ||
$serializer | array | string | @see \Elastica\Type::_serializer |
public setSerializer ( array | string $serializer ) | ||
$serializer | array | string | @see \Elastica\Type::_serializer |