GitHub PullRequestReviewCommentEvent at 2014-02-22 11:00:00
Repository: protalk
Actor: rdohms
Payload: {"comment":{"url":"https://api.github.com/repos/protalk/protalk/pulls/comments/9970841","id":9970841,"diff_hunk":"@@ -0,0 +1,58 @@\n+<?php\n+\n+/*\n+ * This overrides the equivalent class in the Sonata package.\n+ */\n+\n+namespace Protalk\\UserBundle\\Form\\Type;\n+\n+use Symfony\\Component\\Form\\AbstractType;\n+use Symfony\\Component\\Form\\FormBuilderInterface;\n+\n+use Symfony\\Component\\OptionsResolver\\OptionsResolverInterface;\n+use Sonata\\UserBundle\\Model\\UserInterface;\n+\n+class ProfileType extends AbstractType\n+{\n+    private $class;\n+\n+    /**\n+     * @param string $class The User class name\n+     */\n+    public function __construct($class)","path":"src/Protalk/UserBundle/Form/Type/ProfileType.php","position":22,"original_position":22,"commit_id":"987987bab842e334bd5aab9faf0e02c6ca17e62d","original_commit_id":"987987bab842e334bd5aab9faf0e02c6ca17e62d","user":{"login":"rdohms","id":94331,"avatar_url":"https://gravatar.com/avatar/d9545121873fb2829737d5c385f62214?d=https%3A%2F%2Fidenticons.github.com%2F6d651f5919efb1dfff2f65c5d5bc2880.png&r=x","gravatar_id":"d9545121873fb2829737d5c385f62214","url":"https://api.github.com/users/rdohms","html_url":"https://github.com/rdohms","followers_url":"https://api.github.com/users/rdohms/followers","following_url":"https://api.github.com/users/rdohms/following{/other_user}","gists_url":"https://api.github.com/users/rdohms/gists{/gist_id}","starred_url":"https://api.github.com/users/rdohms/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rdohms/subscriptions","organizations_url":"https://api.github.com/users/rdohms/orgs","repos_url":"https://api.github.com/users/rdohms/repos","events_url":"https://api.github.com/users/rdohms/events{/privacy}","received_events_url":"https://api.github.com/users/rdohms/received_events","type":"User","site_admin":false},"body":"This is an interesting construct, to pass the class in, I would like to go over it on IRC to see the why and how it plays with \"forms as services\"","created_at":"2014-02-22T11:00:00Z","updated_at":"2014-02-22T11:00:00Z","html_url":"https://github.com/protalk/protalk/pull/214#discussion_r9970841","pull_request_url":"https://api.github.com/repos/protalk/protalk/pulls/214","_links":{"self":{"href":"https://api.github.com/repos/protalk/protalk/pulls/comments/9970841"},"html":{"href":"https://github.com/protalk/protalk/pull/214#discussion_r9970841"},"pull_request":{"href":"https://api.github.com/repos/protalk/protalk/pulls/214"}}}}