1 | <?php |
||
23 | class LocalUriRetriever implements UriRetrieverInterface |
||
24 | { |
||
25 | /** |
||
26 | * @var string[] |
||
27 | */ |
||
28 | private $mappings; |
||
29 | |||
30 | /** |
||
31 | * @var string |
||
32 | */ |
||
33 | private $baseDir; |
||
34 | |||
35 | /** |
||
36 | * @var UriRetrieverInterface |
||
37 | */ |
||
38 | private $filesystemRetriever; |
||
39 | |||
40 | /** |
||
41 | * @var UriRetrieverInterface |
||
42 | */ |
||
43 | private $fallbackRetriever; |
||
44 | |||
45 | /** |
||
46 | * @var UriRetrieverInterface |
||
47 | */ |
||
48 | private $lastUsedRetriever; |
||
49 | |||
50 | 5 | public function __construct($baseDir = null, array $mappings = array(), UriRetrieverInterface $fallbackRetriever = null) |
|
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | 4 | public function retrieve($uri) |
|
79 | |||
80 | /** |
||
81 | * {@inheritdoc} |
||
82 | */ |
||
83 | 5 | public function getContentType() |
|
87 | } |
||
88 |