| 1 | <?php |
||
| 17 | class DefaultPathExtension extends \Twig_Extension |
||
| 18 | { |
||
| 19 | /** |
||
| 20 | * @var CapabilityApiInterface |
||
| 21 | */ |
||
| 22 | private $capabilityApi; |
||
| 23 | |||
| 24 | /** |
||
| 25 | * @var RouterInterface |
||
| 26 | */ |
||
| 27 | private $router; |
||
| 28 | |||
| 29 | /** |
||
| 30 | * DefaultPathExtension constructor. |
||
| 31 | * @param CapabilityApiInterface $capabilityApi |
||
| 32 | * @param RouterInterface $router |
||
| 33 | */ |
||
| 34 | public function __construct( |
||
| 41 | |||
| 42 | public function getDefaultPath($extensionName, $type = CapabilityApiInterface::USER) |
||
| 57 | } |
||
| 58 |