| Total Complexity | 5 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Coverage | 60% |
| Changes | 0 | ||
| 1 | <?php |
||
| 19 | class FakeGlobalStateProvider extends GlobalStateProvider implements IGlobalStateProvider |
||
| 20 | { |
||
| 21 | var $server = array(); |
||
| 22 | var $get = array(); |
||
| 23 | var $post = array(); |
||
| 24 | var $session = array(); |
||
| 25 | var $cookie = array(); |
||
| 26 | |||
| 27 | 2 | public function &getServerSuperGlobal() |
|
| 30 | } |
||
| 31 | |||
| 32 | 6 | public function &getGetSuperGlobal() |
|
| 33 | { |
||
| 34 | 6 | return $this->get; |
|
| 35 | } |
||
| 36 | |||
| 37 | public function &getPostSuperGlobal() |
||
| 38 | { |
||
| 39 | return $this->post; |
||
| 40 | } |
||
| 41 | |||
| 42 | 5 | public function &getSessionSuperGlobal() |
|
| 45 | } |
||
| 46 | |||
| 47 | public function &getCookieSuperGlobal() |
||
| 50 | } |
||
| 51 | } |