[PropertyAccess] Add missing property to PropertyAccessor

This commit is contained in:
Valentin 2019-05-11 14:25:26 +03:00 committed by Nicolas Grekas
parent b9d3135b1f
commit b1d3736c40

View File

@ -62,6 +62,7 @@ class PropertyAccessor implements PropertyAccessorInterface
*/ */
private $cacheItemPool; private $cacheItemPool;
private $propertyPathCache = [];
private $readPropertyCache = []; private $readPropertyCache = [];
private $writePropertyCache = []; private $writePropertyCache = [];
private static $resultProto = [self::VALUE => null]; private static $resultProto = [self::VALUE => null];
@ -795,7 +796,7 @@ class PropertyAccessor implements PropertyAccessorInterface
* *
* @return AdapterInterface * @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) public static function createCache($namespace, $defaultLifetime, $version, LoggerInterface $logger = null)
{ {