Поправил namespace
This commit is contained in:
parent
bef7165777
commit
ee06f1febb
4 changed files with 26 additions and 40 deletions
13
src/Url.php
Normal file
13
src/Url.php
Normal file
|
|
@ -0,0 +1,13 @@
|
|||
<?php
|
||||
|
||||
namespace ctiso;
|
||||
|
||||
class Url {
|
||||
function __construct($parts = []) {
|
||||
$this->parts = $parts;
|
||||
}
|
||||
|
||||
function toString() {
|
||||
return '?' . http_build_query($this->parts);
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue