{"action":"created","comment":{"url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/comments/29933794","id":29933794,"diff_hunk":"@@ -0,0 +1,221 @@\n+<?php\n+\n+namespace SumoCoders\\FrameworkExampleBundle\\Controller;\n+\n+use Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller;\n+use Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Route;\n+use Sensio\\Bundle\\FrameworkExtraBundle\\Configuration\\Template;\n+use Symfony\\Component\\HttpFoundation\\Request;\n+use Symfony\\Component\\Validator\\Constraints\\DateTime;\n+\n+class TutorialController extends Controller\n+{\n+    /**\n+     * @Route(\"/tutorial/datepicker\")\n+     * @Template()\n+     * @param Request $request\n+     * @return array\n+     */\n+    public function datePickerAction(Request $request)\n+    {\n+        $defaultData = array(","path":"Controller/TutorialController.php","position":21,"original_position":21,"commit_id":"172f54a7f3a2896929ee043b13443faf4f4c17c5","original_commit_id":"172f54a7f3a2896929ee043b13443faf4f4c17c5","user":{"login":"WouterSioen","id":1398405,"avatar_url":"https://avatars.githubusercontent.com/u/1398405?v=3","gravatar_id":"","url":"https://api.github.com/users/WouterSioen","html_url":"https://github.com/WouterSioen","followers_url":"https://api.github.com/users/WouterSioen/followers","following_url":"https://api.github.com/users/WouterSioen/following{/other_user}","gists_url":"https://api.github.com/users/WouterSioen/gists{/gist_id}","starred_url":"https://api.github.com/users/WouterSioen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/WouterSioen/subscriptions","organizations_url":"https://api.github.com/users/WouterSioen/orgs","repos_url":"https://api.github.com/users/WouterSioen/repos","events_url":"https://api.github.com/users/WouterSioen/events{/privacy}","received_events_url":"https://api.github.com/users/WouterSioen/received_events","type":"User","site_admin":false},"body":"ik zou da in een formType class steken. Het is mss maar een voorbeeld, maar het zou leuk zijn om in de voorbeelden ook best practices te gebruikeN;","created_at":"2015-05-08T11:54:44Z","updated_at":"2015-05-08T11:54:44Z","html_url":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4#discussion_r29933794","pull_request_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4","_links":{"self":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/comments/29933794"},"html":{"href":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4#discussion_r29933794"},"pull_request":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4"}}},"pull_request":{"url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4","id":35001869,"html_url":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4","diff_url":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4.diff","patch_url":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4.patch","issue_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/4","number":4,"state":"open","locked":false,"title":"Date picker Example","user":{"login":"tijsverkoyen","id":250042,"avatar_url":"https://avatars.githubusercontent.com/u/250042?v=3","gravatar_id":"","url":"https://api.github.com/users/tijsverkoyen","html_url":"https://github.com/tijsverkoyen","followers_url":"https://api.github.com/users/tijsverkoyen/followers","following_url":"https://api.github.com/users/tijsverkoyen/following{/other_user}","gists_url":"https://api.github.com/users/tijsverkoyen/gists{/gist_id}","starred_url":"https://api.github.com/users/tijsverkoyen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tijsverkoyen/subscriptions","organizations_url":"https://api.github.com/users/tijsverkoyen/orgs","repos_url":"https://api.github.com/users/tijsverkoyen/repos","events_url":"https://api.github.com/users/tijsverkoyen/events{/privacy}","received_events_url":"https://api.github.com/users/tijsverkoyen/received_events","type":"User","site_admin":false},"body":"","created_at":"2015-05-08T11:46:33Z","updated_at":"2015-05-08T11:54:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"fee9ad14af1dbab3beb60ed985bb1f216eb84f0b","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4/commits","review_comments_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4/comments","review_comment_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/comments{/number}","comments_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/4/comments","statuses_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/statuses/172f54a7f3a2896929ee043b13443faf4f4c17c5","head":{"label":"sumocoders:date-picker","ref":"date-picker","sha":"172f54a7f3a2896929ee043b13443faf4f4c17c5","user":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"repo":{"id":32013352,"name":"FrameworkExampleBundle","full_name":"sumocoders/FrameworkExampleBundle","owner":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumocoders/FrameworkExampleBundle","description":"","fork":false,"url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle","forks_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/forks","keys_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/teams","hooks_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/hooks","issue_events_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/events","assignees_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/tags","blobs_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/languages","stargazers_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/stargazers","contributors_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/contributors","subscribers_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/subscribers","subscription_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/subscription","commits_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/merges","archive_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/downloads","issues_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/labels{/name}","releases_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/releases{/id}","created_at":"2015-03-11T11:09:29Z","updated_at":"2015-05-04T13:56:30Z","pushed_at":"2015-05-08T11:46:33Z","git_url":"git://github.com/sumocoders/FrameworkExampleBundle.git","ssh_url":"git@github.com:sumocoders/FrameworkExampleBundle.git","clone_url":"https://github.com/sumocoders/FrameworkExampleBundle.git","svn_url":"https://github.com/sumocoders/FrameworkExampleBundle","homepage":null,"size":184,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"base":{"label":"sumocoders:master","ref":"master","sha":"0a718f8123205e129a4a44844b1964105fe641be","user":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"repo":{"id":32013352,"name":"FrameworkExampleBundle","full_name":"sumocoders/FrameworkExampleBundle","owner":{"login":"sumocoders","id":359178,"avatar_url":"https://avatars.githubusercontent.com/u/359178?v=3","gravatar_id":"","url":"https://api.github.com/users/sumocoders","html_url":"https://github.com/sumocoders","followers_url":"https://api.github.com/users/sumocoders/followers","following_url":"https://api.github.com/users/sumocoders/following{/other_user}","gists_url":"https://api.github.com/users/sumocoders/gists{/gist_id}","starred_url":"https://api.github.com/users/sumocoders/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sumocoders/subscriptions","organizations_url":"https://api.github.com/users/sumocoders/orgs","repos_url":"https://api.github.com/users/sumocoders/repos","events_url":"https://api.github.com/users/sumocoders/events{/privacy}","received_events_url":"https://api.github.com/users/sumocoders/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/sumocoders/FrameworkExampleBundle","description":"","fork":false,"url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle","forks_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/forks","keys_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/teams","hooks_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/hooks","issue_events_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/events{/number}","events_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/events","assignees_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/assignees{/user}","branches_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/branches{/branch}","tags_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/tags","blobs_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/languages","stargazers_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/stargazers","contributors_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/contributors","subscribers_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/subscribers","subscription_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/subscription","commits_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/comments{/number}","contents_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/contents/{+path}","compare_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/merges","archive_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/downloads","issues_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues{/number}","pulls_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/labels{/name}","releases_url":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/releases{/id}","created_at":"2015-03-11T11:09:29Z","updated_at":"2015-05-04T13:56:30Z","pushed_at":"2015-05-08T11:46:33Z","git_url":"git://github.com/sumocoders/FrameworkExampleBundle.git","ssh_url":"git@github.com:sumocoders/FrameworkExampleBundle.git","clone_url":"https://github.com/sumocoders/FrameworkExampleBundle.git","svn_url":"https://github.com/sumocoders/FrameworkExampleBundle","homepage":null,"size":184,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":3,"forks":0,"open_issues":3,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4"},"html":{"href":"https://github.com/sumocoders/FrameworkExampleBundle/pull/4"},"issue":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/4"},"comments":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/issues/4/comments"},"review_comments":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4/comments"},"review_comment":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/pulls/4/commits"},"statuses":{"href":"https://api.github.com/repos/sumocoders/FrameworkExampleBundle/statuses/172f54a7f3a2896929ee043b13443faf4f4c17c5"}}}}