1 | <?php |
||
7 | class AdminRouteHelperTwigExtension extends \Twig_Extension |
||
|
|||
8 | { |
||
9 | /** @var AdminRouteHelper $adminRouteHelper */ |
||
10 | private $adminRouteHelper; |
||
11 | |||
12 | /** |
||
13 | * @param AdminRouteHelper $adminRouteHelper |
||
14 | */ |
||
15 | public function __construct(AdminRouteHelper $adminRouteHelper) |
||
19 | |||
20 | /** |
||
21 | * Returns a list of functions to add to the existing list. |
||
22 | * |
||
23 | * @return array An array of functions |
||
24 | */ |
||
25 | public function getFunctions() |
||
31 | |||
32 | /** |
||
33 | * Lets the adminroutehelper determine wether the URI is an admin route |
||
34 | * |
||
35 | * @return bool |
||
36 | */ |
||
37 | public function isAdminRoute($URI) |
||
41 | |||
42 | /** |
||
43 | * Get the Twig extension name. |
||
44 | * |
||
45 | * @return string |
||
46 | */ |
||
47 | public function getName() |
||
51 | } |
||
52 |
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.