StatementPrepared.php 635B

12345678910111213141516171819202122232425262728293031323334
  1. <?php
  2. namespace Illuminate\Database\Events;
  3. class StatementPrepared
  4. {
  5. /**
  6. * The database connection instance.
  7. *
  8. * @var \Illuminate\Database\Connection
  9. */
  10. public $connection;
  11. /**
  12. * The PDO statement.
  13. *
  14. * @var \PDOStatement
  15. */
  16. public $statement;
  17. /**
  18. * Create a new event instance.
  19. *
  20. * @param \Illuminate\Database\Connection $connection
  21. * @param \PDOStatement $statement
  22. * @return void
  23. */
  24. public function __construct($connection, $statement)
  25. {
  26. $this->statement = $statement;
  27. $this->connection = $connection;
  28. }
  29. }