1 | <?php |
||
7 | class DelegatingProvider implements ProviderInterface |
||
8 | { |
||
9 | private $resolver; |
||
10 | |||
11 | 16 | public function __construct(ProviderResolverInterface $resolver) |
|
15 | |||
16 | /** |
||
17 | * @param $url |
||
18 | * @param array $params |
||
19 | * |
||
20 | * @return RequestInterface |
||
21 | */ |
||
22 | 6 | public function request($url, array $params = array()) |
|
30 | |||
31 | /** |
||
32 | * Returns whether this class supports the given url. |
||
33 | * |
||
34 | * @param string $url A url |
||
35 | * @param array $params The resource type or null if unknown |
||
36 | * |
||
37 | * @return bool True if this class supports the given url, false otherwise |
||
38 | */ |
||
39 | 10 | public function supports($url, array $params = array()) |
|
43 | } |
||
44 |