Guest User

Untitled

a guest
Jul 30th, 2018
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.53 KB | None | 0 0
  1. <?php
  2.  
  3. namespace src\Integration;
  4.  
  5. class DataProvider
  6. {
  7. private $host;
  8. private $user;
  9. private $password;
  10.  
  11. /**
  12. * @param $host
  13. * @param $user
  14. * @param $password
  15. */
  16. public function __construct($host, $user, $password)
  17. {
  18. $this->host = $host;
  19. $this->user = $user;
  20. $this->password = $password;
  21. }
  22.  
  23. /**
  24. * @param array $request
  25. *
  26. * @return array
  27. */
  28. public function get(array $request)
  29. {
  30. // returns a response from external service
  31. }
  32. }
Add Comment
Please, Sign In to add comment