Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Populating param entity #1865

Open
kanonhian opened this issue Feb 9, 2018 · 0 comments
Open

Populating param entity #1865

kanonhian opened this issue Feb 9, 2018 · 0 comments

Comments

@kanonhian
Copy link

In Symfony + twigg

/*@Route
*/@Method('POST')
public function createEntityAction(Request $request, Entity $entity)

this code populates $entity with the form data shipped in the request, with no need to code nothing.

What happens is that I am developing a web api, so there is no twigg or server side templates generation, all is done in the client with ExtendJS. So, my question is :may I achieve the above's behavior with this bundle? If not, please tell me if exists any other vender that gets the job done. I can perfectly code it, just i dnt want to remake the wheel.

Sorry for my english and thanks for this bundle.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant