BorrowConnectionTimeoutException.php 330 B

12345678910111213141516171819
  1. <?php
  2. namespace Smf\ConnectionPool;
  3. class BorrowConnectionTimeoutException extends \Exception
  4. {
  5. protected $timeout;
  6. public function getTimeout(): float
  7. {
  8. return $this->timeout;
  9. }
  10. public function setTimeout(float $timeout): self
  11. {
  12. $this->timeout = $timeout;
  13. return $this;
  14. }
  15. }