| 1 | <?php |
||
| 7 | class Map { |
||
| 8 | |||
| 9 | private $map = []; |
||
| 10 | |||
| 11 | # Parse string |
||
| 12 | |||
| 13 | private function parseString(string $string, string $regex) { |
||
| 23 | |||
| 24 | # Parse item |
||
| 25 | |||
| 26 | private function parseItem(array $item) { |
||
| 36 | |||
| 37 | # Constructor |
||
| 38 | |||
| 39 | public function __construct() { |
||
| 47 | |||
| 48 | # Get handler by url |
||
| 49 | |||
| 50 | public function handler(Url $url) { |
||
| 56 | } |
||
| 57 | } |
||
| 58 |