summaryrefslogtreecommitdiff
path: root/src/Routing/UrlGeneratorInterface.php
blob: 17385bc2f231d6d582fd89c0d4d37add15747704 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?php

namespace Engelsystem\Routing;

/**
 * To switch between different URL schemes.
 */
interface UrlGeneratorInterface
{
    /**
     * @param string $path
     * @param array  $parameters
     * @return string
     */
    public function link_to($path, $parameters = []);
}