From 5d4b5b4fc0923ddbc2e8eb394a65a949466311c8 Mon Sep 17 00:00:00 2001 From: Tomas Votruba Date: Fri, 30 Oct 2015 21:14:22 +0100 Subject: [PATCH] PhpEngine: remove deprecated method --- src/Symfony/Component/Templating/PhpEngine.php | 18 ------------------ 1 file changed, 18 deletions(-) diff --git a/src/Symfony/Component/Templating/PhpEngine.php b/src/Symfony/Component/Templating/PhpEngine.php index b9c059d123386..0d34d9d384a6c 100644 --- a/src/Symfony/Component/Templating/PhpEngine.php +++ b/src/Symfony/Component/Templating/PhpEngine.php @@ -478,24 +478,6 @@ function ($value) { self::$escaperCache = array(); } - /** - * Convert a string from one encoding to another. - * - * @param string $string The string to convert - * @param string $to The input encoding - * @param string $from The output encoding - * - * @return string The string with the new encoding - * - * @deprecated since 2.8, to be removed in 3.0. Use iconv() instead. - */ - public function convertEncoding($string, $to, $from) - { - @trigger_error('The '.__METHOD__.' method is deprecated since version 2.8 and will be removed in 3.0. Use iconv() instead.', E_USER_DEPRECATED); - - return iconv($from, $to, $string); - } - /** * Gets the loader associated with this engine. *