1 | <?php |
||
11 | class URLHandlerRegistry implements URLHandlerRegistryInterface |
||
12 | { |
||
13 | /** |
||
14 | * @var \eZ\Bundle\EzPublishCoreBundle\URLChecker\URLHandlerInterface[] |
||
15 | */ |
||
16 | private $handlers = []; |
||
17 | |||
18 | /** |
||
19 | * URLHandlerRegistry constructor. |
||
20 | */ |
||
21 | public function __construct() |
||
25 | |||
26 | /** |
||
27 | * {@inheritdoc} |
||
28 | */ |
||
29 | public function addHandler($scheme, URLHandlerInterface $handler) |
||
33 | |||
34 | /** |
||
35 | * {@inheritdoc} |
||
36 | */ |
||
37 | public function supported($scheme) |
||
41 | |||
42 | /** |
||
43 | * {@inheritdoc} |
||
44 | */ |
||
45 | public function getHandler($scheme) |
||
53 | } |
||
54 |