ParameterFormatter.php 447 B

12345678910111213141516171819202122
  1. <?php
  2. declare(strict_types=1);
  3. namespace Doctrine\Migrations;
  4. /**
  5. * The ParameterFormatter defines the interface for formatting SQL query parameters to a string
  6. * for display output.
  7. *
  8. * @internal
  9. *
  10. * @see Doctrine\Migrations\InlineParameterFormatter
  11. */
  12. interface ParameterFormatter
  13. {
  14. /**
  15. * @param mixed[] $params
  16. * @param mixed[] $types
  17. */
  18. public function formatParameters(array $params, array $types): string;
  19. }