| Total Complexity | 2 |
| Total Lines | 25 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 0 |
| 1 | <?php |
||
| 8 | class HttpRequest { |
||
| 9 | const REQUEST_GET = 'GET'; |
||
| 10 | const REQUEST_POST = 'POST'; |
||
| 11 | |||
| 12 | /** |
||
| 13 | * @var GlobalContainer $gc |
||
| 14 | */ |
||
| 15 | protected $gc; |
||
| 16 | |||
| 17 | public $method = ''; |
||
| 18 | /** |
||
| 19 | * @var HttpUrl $url |
||
| 20 | */ |
||
| 21 | public $url; |
||
| 22 | |||
| 23 | public function __construct(GlobalContainer $gc) { |
||
| 24 | $this->gc = $gc; |
||
| 25 | |||
| 26 | $this->url = new HttpUrl($this->gc); |
||
| 27 | } |
||
| 28 | |||
| 29 | public function fillCurrent() { |
||
| 33 | |||
| 34 | } |
||
| 37 |