diff --git a/src/AppBundle/Twig/AppExtension.php b/src/AppBundle/Twig/AppExtension.php index 680a801aa..5a7939d64 100644 --- a/src/AppBundle/Twig/AppExtension.php +++ b/src/AppBundle/Twig/AppExtension.php @@ -95,14 +95,4 @@ public function getLocales() return $locales; } - - /** - * {@inheritdoc} - */ - public function getName() - { - // the name of the Twig extension must be unique in the application. Consider - // using 'app.extension' if you only have one Twig extension in your application. - return 'app.extension'; - } } diff --git a/src/CodeExplorerBundle/Twig/SourceCodeExtension.php b/src/CodeExplorerBundle/Twig/SourceCodeExtension.php index 354ea418b..b884affbd 100644 --- a/src/CodeExplorerBundle/Twig/SourceCodeExtension.php +++ b/src/CodeExplorerBundle/Twig/SourceCodeExtension.php @@ -138,10 +138,4 @@ private function unindentCode($code) return $formattedCode; } - - // the name of the Twig extension must be unique in the application - public function getName() - { - return 'code_explorer_source_code'; - } }