Skip to content

In "How to Unit Test your Forms", where does fromArray() come from? #8970

Closed
@Kwadz

Description

@Kwadz

In this example we can notice the fromArray() method to hydrate $object. However this method exists only for a Propel entity.

If I am not wrong we should mention that this method has to be manually created for Doctrine entities if the user want to test forms like this.

What do you think?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Status: ReviewedbughasPRA Pull Request has already been submitted for this issue.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions