Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save tarlepp/ee53580909d83054bdbb88d8e59e58e3 to your computer and use it in GitHub Desktop.
Save tarlepp/ee53580909d83054bdbb88d8e59e58e3 to your computer and use it in GitHub Desktop.
parameters:
class: Home\PageBundle\Entity\Box
services:
box_form:
class: Symfony\Component\Form\Form
factory: ['@form.factory', create]
arguments:
- Home\PageBundle\Form\BoxType
box_handler:
class: Home\PageBundle\Handler\BoxHandler
arguments:
- "@box_form"
- "@request_stack"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment