1 | <?php |
||
17 | class AmpExtension extends \Twig_Extension |
||
18 | { |
||
19 | /** |
||
20 | * @var array |
||
21 | */ |
||
22 | private $config; |
||
23 | |||
24 | /** |
||
25 | * @param array $config |
||
26 | */ |
||
27 | public function __construct(array $config) |
||
31 | |||
32 | /** |
||
33 | * {@inheritdoc} |
||
34 | */ |
||
35 | public function getFilters() |
||
41 | |||
42 | /** |
||
43 | * Returns an AMP path. |
||
44 | * |
||
45 | * @param $path Path |
||
46 | * |
||
47 | * @return string |
||
48 | */ |
||
49 | public function ampFilter($path) |
||
53 | |||
54 | /** |
||
55 | * {@inheritdoc} |
||
56 | */ |
||
57 | public function getName() |
||
61 | } |
||
62 |
This class, trait or interface has been deprecated. The supplier of the file has supplied an explanatory message.
The explanatory message should give you some clue as to whether and when the type will be removed from the class and what other constant to use instead.