You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if (func_num_args() === 3 && $pathinstanceof PropertyPathInterface) {
31
-
$message = sprintf(
32
-
'PropertyAccessor requires a graph of objects or arrays to operate on, '.
33
-
'but it found type "%s" while trying to traverse path "%s" at property "%s".',
34
-
gettype($value),
35
-
(string) $path,
36
-
$path->getElement($pathIndex)
37
-
);
38
-
} else {
39
-
trigger_error('The '.__CLASS__.' constructor now expects 3 arguments: the invalid property value, the '.__NAMESPACE__.'\PropertyPathInterface object and the current index of the property path.', E_USER_DEPRECATED);
Copy file name to clipboardExpand all lines: src/Symfony/Component/PropertyAccess/PropertyAccess.php
-15Lines changed: 0 additions & 15 deletions
Original file line number
Diff line number
Diff line change
@@ -38,21 +38,6 @@ public static function createPropertyAccessorBuilder()
38
38
returnnewPropertyAccessorBuilder();
39
39
}
40
40
41
-
/**
42
-
* Alias of {@link createPropertyAccessor}.
43
-
*
44
-
* @return PropertyAccessor The new property accessor
45
-
*
46
-
* @deprecated since version 2.3, to be removed in 3.0.
47
-
* Use {@link createPropertyAccessor()} instead.
48
-
*/
49
-
publicstaticfunctiongetPropertyAccessor()
50
-
{
51
-
trigger_error('The '.__METHOD__.' method is deprecated since version 2.3 and will be removed in 3.0. Use the createPropertyAccessor() method instead.', E_USER_DEPRECATED);
0 commit comments