BulkEndpointInterface.php 576 B

12345678910111213141516171819202122232425
  1. <?php
  2. namespace Elasticsearch\Endpoints;
  3. use Elasticsearch\Serializers\SerializerInterface;
  4. use Elasticsearch\Transport;
  5. /**
  6. * Interface BulkEndpointInterface
  7. *
  8. * @category Elasticsearch
  9. * @package Elasticsearch\Endpoints
  10. * @author Zachary Tong <zach@elastic.co>
  11. * @license http://www.apache.org/licenses/LICENSE-2.0 Apache2
  12. * @link http://elastic.co
  13. */
  14. interface BulkEndpointInterface
  15. {
  16. /**
  17. * Constructor
  18. *
  19. * @param SerializerInterface $serializer A serializer
  20. */
  21. public function __construct(SerializerInterface $serializer);
  22. }