1 | <?php declare(strict_types=1); |
||
8 | class BaseString |
||
9 | { |
||
10 | private $method; |
||
11 | |||
12 | private $url; |
||
13 | |||
14 | private $parameters; |
||
15 | |||
16 | 7 | public function __construct(string $method, Url $url, Parameters $parameters) |
|
17 | { |
||
18 | 7 | $this->method = strtoupper($method); |
|
19 | 7 | $this->url = $url; |
|
20 | 7 | $this->parameters = $parameters; |
|
21 | } |
||
22 | |||
23 | 7 | public function getString(): string |
|
27 | |||
28 | 7 | private function getBaseString(): string |
|
32 | |||
33 | 7 | private function getOauthParameters(): string |
|
43 | } |
||
44 |