Conditions | 3 |
Paths | 3 |
Total Lines | 11 |
Code Lines | 7 |
Lines | 0 |
Ratio | 0 % |
Changes | 0 |
1 | <?php |
||
26 | public function getUrl($removeParameters = []) |
||
27 | { |
||
28 | $url = $this->getShortUrl(); |
||
29 | $query = $this->getQuery(); |
||
30 | foreach ($removeParameters as $item) { |
||
31 | if (array_key_exists($item, $query)) { |
||
32 | unset($query[$item]); |
||
33 | } |
||
34 | } |
||
35 | $url .= $this->queryToString($query); |
||
36 | return $url; |
||
37 | } |
||
51 |