| 1 | <?php |
||
| 7 | final class InputParameterBag |
||
| 8 | { |
||
| 9 | /** |
||
| 10 | * @var array |
||
| 11 | */ |
||
| 12 | private $getParameters = []; |
||
| 13 | |||
| 14 | /** |
||
| 15 | * @var array |
||
| 16 | */ |
||
| 17 | private $uriParameters = []; |
||
| 18 | |||
| 19 | /** |
||
| 20 | * @var string |
||
| 21 | */ |
||
| 22 | private $url; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * InputParameterBag constructor. |
||
| 26 | * |
||
| 27 | * @param string $url |
||
| 28 | */ |
||
| 29 | public function __construct(string $url) |
||
| 33 | |||
| 34 | /** |
||
| 35 | * @param GetParameterInterface $parameter |
||
| 36 | */ |
||
| 37 | public function setGetParameter(GetParameterInterface $parameter): void |
||
| 41 | |||
| 42 | public function getGetParameters(): array |
||
| 46 | |||
| 47 | public function setUriParameter(UriParameterInterface $parameter): void |
||
| 51 | |||
| 52 | /** |
||
| 53 | * @return ParameterInterface[] |
||
| 54 | */ |
||
| 55 | public function getUriParameters(): array |
||
| 59 | |||
| 60 | /** |
||
| 61 | * @return string |
||
| 62 | */ |
||
| 63 | public function getUrl(): string |
||
| 67 | } |
||
| 68 |