1 | <?php |
||
7 | class MultiDomainTwigExtension extends \Twig_Extension |
||
|
|||
8 | { |
||
9 | /** |
||
10 | * @var DomainConfigurationInterface |
||
11 | */ |
||
12 | private $domainConfiguration; |
||
13 | |||
14 | public function __construct(DomainConfigurationInterface $domainConfiguration) |
||
18 | |||
19 | /** |
||
20 | * Get Twig functions defined in this extension. |
||
21 | * |
||
22 | * @return array |
||
23 | */ |
||
24 | public function getFunctions() |
||
33 | |||
34 | /** |
||
35 | * @param $key |
||
36 | */ |
||
37 | public function getExtraData($key) |
||
47 | |||
48 | /** |
||
49 | * @return array |
||
50 | */ |
||
51 | public function getMultiDomainHosts() |
||
55 | |||
56 | /** |
||
57 | * @return string |
||
58 | */ |
||
59 | public function getCurrentHost() |
||
63 | |||
64 | /** |
||
65 | * @return array |
||
66 | */ |
||
67 | public function getCurrentFullHost() |
||
71 | } |
||
72 |
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.