Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
36 | public function getUrl($removeParameters = []) |
||
37 | { |
||
38 | $url = $this->getShortUrl(); |
||
39 | $query = $this->getQuery(); |
||
40 | foreach ($removeParameters as $item) { |
||
41 | if (array_key_exists($item, $query)) { |
||
42 | unset($query[$item]); |
||
43 | } |
||
44 | } |
||
45 | $url .= $this->queryToString($query); |
||
46 | return $url; |
||
47 | } |
||
75 |