| Total Complexity | 3 |
| Total Lines | 31 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 9 | class ObjectPositionExtension extends Twig_Extension |
||
| 10 | { |
||
| 11 | const NAME = 'sludio_position_object'; |
||
| 12 | |||
| 13 | /** |
||
| 14 | * PositionHandler. |
||
| 15 | */ |
||
| 16 | private $positionService; |
||
| 17 | |||
| 18 | public function __construct(PositionHandler $positionService) |
||
| 19 | { |
||
| 20 | $this->positionService = $positionService; |
||
| 21 | } |
||
| 22 | |||
| 23 | /** |
||
| 24 | * Returns the name of the extension. |
||
| 25 | * |
||
| 26 | * @return string The extension name |
||
| 27 | */ |
||
| 28 | public function getName() |
||
| 31 | } |
||
| 32 | |||
| 33 | public function getFunctions() |
||
| 44 |