From b1d3736c409ba5f6c85f2a12d388dad3571ed474 Mon Sep 17 00:00:00 2001 From: Valentin Date: Sat, 11 May 2019 14:25:26 +0300 Subject: [PATCH] [PropertyAccess] Add missing property to PropertyAccessor --- src/Symfony/Component/PropertyAccess/PropertyAccessor.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php index 6bf6e21096..2eb3d17ea9 100644 --- a/src/Symfony/Component/PropertyAccess/PropertyAccessor.php +++ b/src/Symfony/Component/PropertyAccess/PropertyAccessor.php @@ -62,6 +62,7 @@ class PropertyAccessor implements PropertyAccessorInterface */ private $cacheItemPool; + private $propertyPathCache = []; private $readPropertyCache = []; private $writePropertyCache = []; private static $resultProto = [self::VALUE => null]; @@ -795,7 +796,7 @@ class PropertyAccessor implements PropertyAccessorInterface * * @return AdapterInterface * - * @throws RuntimeException When the Cache Component isn't available + * @throws \LogicException When the Cache Component isn't available */ public static function createCache($namespace, $defaultLifetime, $version, LoggerInterface $logger = null) {