File tree 1 file changed +0
-18
lines changed
src/Symfony/Component/Templating
1 file changed +0
-18
lines changed Original file line number Diff line number Diff line change @@ -478,24 +478,6 @@ function ($value) {
478
478
self ::$ escaperCache = array ();
479
479
}
480
480
481
- /**
482
- * Convert a string from one encoding to another.
483
- *
484
- * @param string $string The string to convert
485
- * @param string $to The input encoding
486
- * @param string $from The output encoding
487
- *
488
- * @return string The string with the new encoding
489
- *
490
- * @deprecated since 2.8, to be removed in 3.0. Use iconv() instead.
491
- */
492
- public function convertEncoding ($ string , $ to , $ from )
493
- {
494
- @trigger_error ('The ' .__METHOD__ .' method is deprecated since version 2.8 and will be removed in 3.0. Use iconv() instead. ' , E_USER_DEPRECATED );
495
-
496
- return iconv ($ from , $ to , $ string );
497
- }
498
-
499
481
/**
500
482
* Gets the loader associated with this engine.
501
483
*
You can’t perform that action at this time.
0 commit comments