| 1 | <?php namespace CMSFactory\Templating\Twig\Extension; |
||
| 6 | class TwigExtension extends Twig_Extension |
||
| 7 | { |
||
|
|
|||
| 8 | |||
| 9 | private $morphy; |
||
| 10 | |||
| 11 | public function __construct(Morphy $morphy) { |
||
| 14 | |||
| 15 | public function getFilters() { |
||
| 24 | |||
| 25 | public function getFunctions() { |
||
| 32 | |||
| 33 | /** |
||
| 34 | * Returns the name of the extension. |
||
| 35 | * |
||
| 36 | * @return string The extension name |
||
| 37 | */ |
||
| 38 | public function getName() { |
||
| 41 | } |