Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 5d4b5b4

Browse files
committed
PhpEngine: remove deprecated method
1 parent 1db740e commit 5d4b5b4

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

src/Symfony/Component/Templating/PhpEngine.php

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -478,24 +478,6 @@ function ($value) {
478478
self::$escaperCache = array();
479479
}
480480

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-
499481
/**
500482
* Gets the loader associated with this engine.
501483
*

0 commit comments

Comments
 (0)