bug #31477 [PropertyAccess] Add missing property to PropertyAccessor (vudaltsov)
This PR was squashed before being merged into the 4.2 branch (closes #31477).
Discussion
----------
[PropertyAccess] Add missing property to PropertyAccessor
| Q | A
| ------------- | ---
| Branch? | 4.2
| Bug fix? | yes
| New feature? | no
| BC breaks? | no
| Deprecations? | no
| Tests pass? | yes
| Fixed tickets |
| License | MIT
| Doc PR |
Commits
-------
b1d3736c40
[PropertyAccess] Add missing property to PropertyAccessor
This commit is contained in:
commit
1620baf1b5
@ -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)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user