Skip to content
This repository was archived by the owner on Jul 3, 2022. It is now read-only.
This repository was archived by the owner on Jul 3, 2022. It is now read-only.

use form layer to bind request data to the model instances #1

@lsmith77

Description

@lsmith77

see here for an example https://github.com/liip/LiipHelloBundle/blob/master/Controller/RestController.php#L80

this would allow you to leverage the form layer instead of manually doing:
https://github.com/dsyph3r/connect/blob/master/src/Connect/ContactBundle/Controller/ContactController.php#L53

furthermore the redirect at the end you can also leave to the rest bundle

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions