1 | <?php |
||
24 | class AmpLoader extends Loader |
||
25 | { |
||
26 | /** |
||
27 | * @var bool |
||
28 | */ |
||
29 | private $loaded = false; |
||
30 | |||
31 | /** |
||
32 | * @var AmpSupportCheckerInterface |
||
33 | */ |
||
34 | private $checker; |
||
35 | |||
36 | /** |
||
37 | * @var array |
||
38 | */ |
||
39 | private $parameters; |
||
40 | |||
41 | /** |
||
42 | * @var string |
||
43 | */ |
||
44 | private $controller; |
||
45 | |||
46 | /** |
||
47 | * @param AmpSupportCheckerInterface $checker |
||
48 | * @param array $parameters |
||
49 | * @param string $controller |
||
50 | */ |
||
51 | public function __construct(AmpSupportCheckerInterface $checker, array $parameters, $controller) |
||
57 | |||
58 | /** |
||
59 | * {@inheritdoc} |
||
60 | */ |
||
61 | public function load($resource, $type = null) |
||
97 | |||
98 | /** |
||
99 | * {@inheritdoc} |
||
100 | */ |
||
101 | public function supports($resource, $type = null) |
||
105 | } |
||
106 |