Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace src\Integration;
- class DataProvider
- {
- private $host;
- private $user;
- private $password;
- /**
- * @param $host
- * @param $user
- * @param $password
- */
- public function __construct($host, $user, $password)
- {
- $this->host = $host;
- $this->user = $user;
- $this->password = $password;
- }
- /**
- * @param array $request
- *
- * @return array
- */
- public function get(array $request)
- {
- // returns a response from external service
- }
- }
Add Comment
Please, Sign In to add comment