Skip to content

Instantly share code, notes, and snippets.

@webmozart
Created April 26, 2011 09:55
Show Gist options
  • Save webmozart/942056 to your computer and use it in GitHub Desktop.
Save webmozart/942056 to your computer and use it in GitHub Desktop.
<?php
$builder->add(
$builder->create('Author', 'hidden')
->appendClientTransformer(new EntityToIdTransformer(
new EntityChoiceList($em, 'Name\Space\Author')
))
)
@carlossg00
Copy link

appendClientTransformer instead?

@webmozart
Copy link
Author

ah, yes, thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment