Skip to content

Instantly share code, notes, and snippets.

Created August 15, 2017 15:47
Show Gist options
  • Save anonymous/b35992eec06881ad9a212b46f8ebce51 to your computer and use it in GitHub Desktop.
Save anonymous/b35992eec06881ad9a212b46f8ebce51 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_box
box_type:
class: Home\PageBundle\Form\BoxType
tags:
- { name: form.type, alias: home_pagebundle_box }
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