summaryrefslogtreecommitdiff
path: root/src/Routing/UrlGeneratorInterface.php
blob: f1a8ffed84587adb1935b0b17abfe645cea1138d (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 linkTo($path, $parameters = []);
}