Created
April 15, 2013 02:15
-
-
Save oste/5385226 to your computer and use it in GitHub Desktop.
override foscommentbundle CommentType
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
services: | |
fos_comment.form_type.comment.default: | |
class: App\Form\CommentType | |
tags: [{ name: form.type, alias: fos_comment_comment }] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Cheers for this gist, not sure if it has changed since you created this but you now need to include an argument for the constructor.
class: App\Form\CommentType
tags: [{ name: form.type, alias: fos_comment_comment }]
arguments: [ "%fos_comment.model.comment.class%" ]