Skip to content

Commit b1da2d8

Browse files
committed
Removed the deprecated getName() method in Twig extensions
1 parent ac188e9 commit b1da2d8

File tree

2 files changed

+0
-16
lines changed

2 files changed

+0
-16
lines changed

src/AppBundle/Twig/AppExtension.php

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -95,14 +95,4 @@ public function getLocales()
9595

9696
return $locales;
9797
}
98-
99-
/**
100-
* {@inheritdoc}
101-
*/
102-
public function getName()
103-
{
104-
// the name of the Twig extension must be unique in the application. Consider
105-
// using 'app.extension' if you only have one Twig extension in your application.
106-
return 'app.extension';
107-
}
10898
}

src/CodeExplorerBundle/Twig/SourceCodeExtension.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -138,10 +138,4 @@ private function unindentCode($code)
138138

139139
return $formattedCode;
140140
}
141-
142-
// the name of the Twig extension must be unique in the application
143-
public function getName()
144-
{
145-
return 'code_explorer_source_code';
146-
}
147141
}

0 commit comments

Comments
 (0)