Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[PropertyAccess] getReadAccessInfo can not be cached due naming restrictions when using Anonymous Class object #23136

Closed
@mablae

Description

@mablae
Q A
Bug report? yes
Feature request? no
BC Break report? no
Symfony version 3.2.6

Trying to serialize a Anonymous Class with the symfony/serializer results in an Exception due to naming of the $key that get_class($object) returns in https://github.com/symfony/symfony/blob/master/src/Symfony/Component/PropertyAccess/PropertyAccessor.php#L436

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions