{"pull_request":{"state":"closed","merged_by":{"avatar_url":"https://secure.gravatar.com/avatar/61c1ed29afda785eb8b45a9174bc2470?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"61c1ed29afda785eb8b45a9174bc2470","url":"https://api.github.com/users/Burgov","login":"Burgov","id":417674},"deletions":0,"user":{"avatar_url":"https://secure.gravatar.com/avatar/61c1ed29afda785eb8b45a9174bc2470?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"61c1ed29afda785eb8b45a9174bc2470","url":"https://api.github.com/users/Burgov","login":"Burgov","id":417674},"updated_at":"2011-11-10T10:24:02Z","closed_at":"2011-11-10T10:24:01Z","diff_url":"https://github.com/symfony/symfony/pull/2580.diff","base":{"ref":"master","repo":{"name":"symfony","pushed_at":"2011-11-10T09:56:14Z","master_branch":null,"fork":false,"open_issues":173,"updated_at":"2011-11-10T10:19:36Z","homepage":"symfony.com","clone_url":"https://github.com/symfony/symfony.git","svn_url":"https://svn.github.com/symfony/symfony","forks":849,"private":false,"language":"PHP","url":"https://api.github.com/repos/symfony/symfony","owner":{"avatar_url":"https://secure.gravatar.com/avatar/bc6312a5b583c4258c9fad11122c6e31?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"bc6312a5b583c4258c9fad11122c6e31","url":"https://api.github.com/users/symfony","login":"symfony","id":143937},"html_url":"https://github.com/symfony/symfony","description":"The Symfony2 PHP framework","size":20692,"id":458058,"git_url":"git://github.com/symfony/symfony.git","watchers":3335,"created_at":"2010-01-04T14:21:21Z","ssh_url":"git@github.com:symfony/symfony.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/bc6312a5b583c4258c9fad11122c6e31?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-orgs.png","gravatar_id":"bc6312a5b583c4258c9fad11122c6e31","url":"https://api.github.com/users/symfony","login":"symfony","id":143937},"label":"symfony:master","sha":"47b09f791b832761621348d6a526a303a5428522"},"comments":6,"commits":0,"additions":0,"url":"https://api.github.com/repos/symfony/symfony/pulls/2580","merged":true,"head":{"ref":"master","repo":{"name":"symfony","pushed_at":"2011-11-10T10:23:57Z","master_branch":"master","fork":true,"open_issues":0,"updated_at":"2011-11-10T10:23:57Z","homepage":"symfony.com","clone_url":"https://github.com/Burgov/symfony.git","svn_url":"https://svn.github.com/Burgov/symfony","forks":0,"private":false,"language":"PHP","url":"https://api.github.com/repos/Burgov/symfony","owner":{"avatar_url":"https://secure.gravatar.com/avatar/61c1ed29afda785eb8b45a9174bc2470?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"61c1ed29afda785eb8b45a9174bc2470","url":"https://api.github.com/users/Burgov","login":"Burgov","id":417674},"html_url":"https://github.com/Burgov/symfony","description":"The Symfony2 PHP framework (PHP 5.3 only -- not yet stable) -- documentation for master is at http://symfony.com/doc/2.0/","size":112,"id":1700897,"git_url":"git://github.com/Burgov/symfony.git","watchers":1,"created_at":"2011-05-04T12:04:37Z","ssh_url":"git@github.com:Burgov/symfony.git"},"user":{"avatar_url":"https://secure.gravatar.com/avatar/61c1ed29afda785eb8b45a9174bc2470?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"61c1ed29afda785eb8b45a9174bc2470","url":"https://api.github.com/users/Burgov","login":"Burgov","id":417674},"label":"Burgov:master","sha":"47b09f791b832761621348d6a526a303a5428522"},"body":"Bug fix: no\r\nFeature addition: yes\r\nBackwards compatibility break: no\r\nSymfony2 tests pass: yes\r\nFixes the following tickets: -\r\n\r\nAllow for a callable to be supplied as argument to EntityChoiceList, to provide for more flexibility in displaying the listbox.\r\n\r\nE.g.:\r\n\r\n$builder->add('field', 'entity', array(\r\n  'class' => 'FooBundle:Foo',\r\n  'property' => function(Foo $foo) {\r\n    return sprintf(\"%s (%s)\", $foo->getName(), $foo->getCategory());\r\n  }\r\n));","merged_at":"2011-11-10T10:24:01Z","review_comments":0,"html_url":"https://github.com/symfony/symfony/pull/2580","_links":{"comments":{"href":"https://api.github.com/repos/symfony/symfony/issues/2580/comments"},"html":{"href":"https://github.com/symfony/symfony/pull/2580"},"review_comments":{"href":"https://api.github.com/repos/symfony/symfony/pulls/2580/comments"},"self":{"href":"https://api.github.com/repos/symfony/symfony/pulls/2580"}},"issue_url":"https://github.com/symfony/symfony/issues/2580","number":2580,"title":"Support for callable in EntityChoiceList","mergeable":null,"id":473385,"changed_files":0,"patch_url":"https://github.com/symfony/symfony/pull/2580.patch","created_at":"2011-11-08T13:45:45Z"},"action":"closed","number":2580}