1: <?php
2:
3: namespace SMSApi\Proxy;
4:
5: class Uri {
6:
7: private $schema;
8: private $host;
9: private $port;
10: private $path;
11: private $query;
12:
13: function __construct( $schema, $host, $port, $path, $query ) {
14:
15: $this->schema = $schema;
16: $this->host = $host;
17: $this->port = $port;
18: $this->path = $path;
19: $this->query = $query;
20: }
21:
22: public function getSchema() {
23: return $this->schema;
24: }
25:
26: public function getHost() {
27: return $this->host;
28: }
29:
30: public function getPort() {
31: return $this->port;
32: }
33:
34: public function getPath() {
35: return $this->path;
36: }
37:
38: public function getQuery() {
39: return $this->query;
40: }
41:
42: }
43:
44: