public function __construct($index, $type, SerializerInterface $serializer, array $serializerParams = array()) { parent::__construct($index, $type, $serializer, $serializerParams); $this->setParameter('format', 'json'); }
public function __construct($index, $type, SerializerInterface $serializer, array $serializerParams = array()) { //overwriting index type for this request parent::__construct(null, null, $serializer, $serializerParams); }