From 5a8927c11af45fa06331b97221c6da1a4a237475 Mon Sep 17 00:00:00 2001 From: Maks3w Date: Fri, 12 Feb 2016 18:45:14 +0100 Subject: [PATCH] Remove mention in UPGRADE to Filter subcomponent --- UPGRADE-3.0.md | 16 ---------------- 1 file changed, 16 deletions(-) diff --git a/UPGRADE-3.0.md b/UPGRADE-3.0.md index 64520d4..2217e0d 100644 --- a/UPGRADE-3.0.md +++ b/UPGRADE-3.0.md @@ -30,19 +30,3 @@ UPGRADE FROM 2.0 to 3.0 service: ldap_driver: fr3d_ldap.ldap_driver.legacy # Remove this line. ``` - -* If you was using `Converter` class or `LdapManagerInterface::escapeValue(string|array)`: - Before: - ```php - $values = [$valueA, $valueB]; - $values = FR3D\LdapBundle\Ldap\LdapManager::escapeValue($values); - ``` - - After: - ```php - $filter = new FR3D\LdapBundle\Ldap\Filter\FilterValue(); - $values = [$valueA, $valueB]; - foreach($values as $key => $unescapedValue) { - $values[$key] = $filter->filter($unescapedValue); - } - ```