{"action":"created","comment":{"url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/comments/41966078","id":41966078,"diff_hunk":"@@ -0,0 +1,120 @@\n+<?php\n+\n+namespace Kunstmaan\\MenuBundle\\Entity;\n+\n+use Doctrine\\Common\\Collections\\ArrayCollection;\n+use Doctrine\\ORM\\Mapping as ORM;\n+use Kunstmaan\\AdminBundle\\Entity\\AbstractEntity;\n+use Symfony\\Component\\Validator\\Constraints as Assert;\n+\n+class BaseMenu extends AbstractEntity\n+{\n+    /**\n+     * @var string\n+     *\n+     * @ORM\\Column(name=\"name\", type=\"string\", length=25, nullable=true)\n+     * @Assert\\NotBlank()\n+     */\n+    protected $name;\n+\n+    /**\n+     * @var string\n+     *\n+     * @ORM\\Column(name=\"locale\", type=\"string\", length=5, nullable=true)\n+     * @Assert\\NotBlank()\n+     */\n+    protected $locale;\n+\n+    /**\n+     * @var ArrayCollection\n+     *\n+     * @ORM\\OneToMany(targetEntity=\"Kunstmaan\\MenuBundle\\Entity\\BaseMenuItem\", mappedBy=\"menu\", cascade={\"persist\", \"remove\"}, orphanRemoval=true)\n+     */\n+    protected $items;\n+\n+    /**\n+     * Constructor\n+     */\n+    public function __construct()\n+    {\n+\t$this->items = new ArrayCollection();","path":"src/Kunstmaan/MenuBundle/Entity/BaseMenu.php","position":40,"original_position":40,"commit_id":"c7fb13d43484688618c0300f36192eaf82d167d5","original_commit_id":"c7fb13d43484688618c0300f36192eaf82d167d5","user":{"login":"aistis-","id":6010299,"avatar_url":"https://avatars.githubusercontent.com/u/6010299?v=3","gravatar_id":"","url":"https://api.github.com/users/aistis-","html_url":"https://github.com/aistis-","followers_url":"https://api.github.com/users/aistis-/followers","following_url":"https://api.github.com/users/aistis-/following{/other_user}","gists_url":"https://api.github.com/users/aistis-/gists{/gist_id}","starred_url":"https://api.github.com/users/aistis-/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aistis-/subscriptions","organizations_url":"https://api.github.com/users/aistis-/orgs","repos_url":"https://api.github.com/users/aistis-/repos","events_url":"https://api.github.com/users/aistis-/events{/privacy}","received_events_url":"https://api.github.com/users/aistis-/received_events","type":"User","site_admin":false},"body":"Please configure your IDE for spacing :/","created_at":"2015-10-14T08:19:19Z","updated_at":"2015-10-14T08:19:19Z","html_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729#discussion_r41966078","pull_request_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729","_links":{"self":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/comments/41966078"},"html":{"href":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729#discussion_r41966078"},"pull_request":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729"}}},"pull_request":{"url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729","id":45992125,"html_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729","diff_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729.diff","patch_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729.patch","issue_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/729","number":729,"state":"closed","locked":false,"title":"[MenuBundle] Some refactoring of the menuBundle - Make it extendable","user":{"login":"denbatte","id":505196,"avatar_url":"https://avatars.githubusercontent.com/u/505196?v=3","gravatar_id":"","url":"https://api.github.com/users/denbatte","html_url":"https://github.com/denbatte","followers_url":"https://api.github.com/users/denbatte/followers","following_url":"https://api.github.com/users/denbatte/following{/other_user}","gists_url":"https://api.github.com/users/denbatte/gists{/gist_id}","starred_url":"https://api.github.com/users/denbatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denbatte/subscriptions","organizations_url":"https://api.github.com/users/denbatte/orgs","repos_url":"https://api.github.com/users/denbatte/repos","events_url":"https://api.github.com/users/denbatte/events{/privacy}","received_events_url":"https://api.github.com/users/denbatte/received_events","type":"User","site_admin":false},"body":"| Q             | A\r\n| ------------- | ---\r\n| Bug fix?      | no\r\n| New feature?  | yes\r\n| BC breaks?    | no\r\n| Deprecations? | no\r\n| Fixed tickets | ","created_at":"2015-09-25T09:22:36Z","updated_at":"2015-10-14T08:19:19Z","closed_at":"2015-10-10T13:14:33Z","merged_at":"2015-10-10T13:14:33Z","merge_commit_sha":"437fcdca86adbf4749eb03aec4c075226ebaf65c","assignee":null,"milestone":{"url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/milestones/22","html_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/milestones/3.4.1","labels_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/milestones/22/labels","id":1342548,"number":22,"title":"3.4.1","description":"","creator":{"login":"roderik","id":16780,"avatar_url":"https://avatars.githubusercontent.com/u/16780?v=3","gravatar_id":"","url":"https://api.github.com/users/roderik","html_url":"https://github.com/roderik","followers_url":"https://api.github.com/users/roderik/followers","following_url":"https://api.github.com/users/roderik/following{/other_user}","gists_url":"https://api.github.com/users/roderik/gists{/gist_id}","starred_url":"https://api.github.com/users/roderik/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roderik/subscriptions","organizations_url":"https://api.github.com/users/roderik/orgs","repos_url":"https://api.github.com/users/roderik/repos","events_url":"https://api.github.com/users/roderik/events{/privacy}","received_events_url":"https://api.github.com/users/roderik/received_events","type":"User","site_admin":false},"open_issues":0,"closed_issues":8,"state":"open","created_at":"2015-10-07T12:26:52Z","updated_at":"2015-10-10T13:14:33Z","due_on":null,"closed_at":null},"commits_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729/commits","review_comments_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729/comments","review_comment_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/comments{/number}","comments_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/729/comments","statuses_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/statuses/c7fb13d43484688618c0300f36192eaf82d167d5","head":{"label":"denbatte:feature/menuBundleUpdate","ref":"feature/menuBundleUpdate","sha":"c7fb13d43484688618c0300f36192eaf82d167d5","user":{"login":"denbatte","id":505196,"avatar_url":"https://avatars.githubusercontent.com/u/505196?v=3","gravatar_id":"","url":"https://api.github.com/users/denbatte","html_url":"https://github.com/denbatte","followers_url":"https://api.github.com/users/denbatte/followers","following_url":"https://api.github.com/users/denbatte/following{/other_user}","gists_url":"https://api.github.com/users/denbatte/gists{/gist_id}","starred_url":"https://api.github.com/users/denbatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denbatte/subscriptions","organizations_url":"https://api.github.com/users/denbatte/orgs","repos_url":"https://api.github.com/users/denbatte/repos","events_url":"https://api.github.com/users/denbatte/events{/privacy}","received_events_url":"https://api.github.com/users/denbatte/received_events","type":"User","site_admin":false},"repo":{"id":43083544,"name":"KunstmaanBundlesCMS","full_name":"denbatte/KunstmaanBundlesCMS","owner":{"login":"denbatte","id":505196,"avatar_url":"https://avatars.githubusercontent.com/u/505196?v=3","gravatar_id":"","url":"https://api.github.com/users/denbatte","html_url":"https://github.com/denbatte","followers_url":"https://api.github.com/users/denbatte/followers","following_url":"https://api.github.com/users/denbatte/following{/other_user}","gists_url":"https://api.github.com/users/denbatte/gists{/gist_id}","starred_url":"https://api.github.com/users/denbatte/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/denbatte/subscriptions","organizations_url":"https://api.github.com/users/denbatte/orgs","repos_url":"https://api.github.com/users/denbatte/repos","events_url":"https://api.github.com/users/denbatte/events{/privacy}","received_events_url":"https://api.github.com/users/denbatte/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/denbatte/KunstmaanBundlesCMS","description":"An advanced yet user-friendly content management system, based on the full stack Symfony2 framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.","fork":true,"url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS","forks_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/forks","keys_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/teams","hooks_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/hooks","issue_events_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/issues/events{/number}","events_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/events","assignees_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/assignees{/user}","branches_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/branches{/branch}","tags_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/tags","blobs_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/git/refs{/sha}","trees_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/statuses/{sha}","languages_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/languages","stargazers_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/stargazers","contributors_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/contributors","subscribers_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/subscribers","subscription_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/subscription","commits_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/commits{/sha}","git_commits_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/git/commits{/sha}","comments_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/comments{/number}","issue_comment_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/issues/comments{/number}","contents_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/contents/{+path}","compare_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/merges","archive_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/downloads","issues_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/issues{/number}","pulls_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/pulls{/number}","milestones_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/milestones{/number}","notifications_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/labels{/name}","releases_url":"https://api.github.com/repos/denbatte/KunstmaanBundlesCMS/releases{/id}","created_at":"2015-09-24T17:57:23Z","updated_at":"2015-09-24T17:57:29Z","pushed_at":"2015-10-12T15:32:36Z","git_url":"git://github.com/denbatte/KunstmaanBundlesCMS.git","ssh_url":"git@github.com:denbatte/KunstmaanBundlesCMS.git","clone_url":"https://github.com/denbatte/KunstmaanBundlesCMS.git","svn_url":"https://github.com/denbatte/KunstmaanBundlesCMS","homepage":"https://bundles.kunstmaan.be","size":38176,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"Kunstmaan:master","ref":"master","sha":"7e6efa1c32bdf9fb12e2c9d31d1bd750b37733f6","user":{"login":"Kunstmaan","id":441259,"avatar_url":"https://avatars.githubusercontent.com/u/441259?v=3","gravatar_id":"","url":"https://api.github.com/users/Kunstmaan","html_url":"https://github.com/Kunstmaan","followers_url":"https://api.github.com/users/Kunstmaan/followers","following_url":"https://api.github.com/users/Kunstmaan/following{/other_user}","gists_url":"https://api.github.com/users/Kunstmaan/gists{/gist_id}","starred_url":"https://api.github.com/users/Kunstmaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kunstmaan/subscriptions","organizations_url":"https://api.github.com/users/Kunstmaan/orgs","repos_url":"https://api.github.com/users/Kunstmaan/repos","events_url":"https://api.github.com/users/Kunstmaan/events{/privacy}","received_events_url":"https://api.github.com/users/Kunstmaan/received_events","type":"Organization","site_admin":false},"repo":{"id":22946859,"name":"KunstmaanBundlesCMS","full_name":"Kunstmaan/KunstmaanBundlesCMS","owner":{"login":"Kunstmaan","id":441259,"avatar_url":"https://avatars.githubusercontent.com/u/441259?v=3","gravatar_id":"","url":"https://api.github.com/users/Kunstmaan","html_url":"https://github.com/Kunstmaan","followers_url":"https://api.github.com/users/Kunstmaan/followers","following_url":"https://api.github.com/users/Kunstmaan/following{/other_user}","gists_url":"https://api.github.com/users/Kunstmaan/gists{/gist_id}","starred_url":"https://api.github.com/users/Kunstmaan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Kunstmaan/subscriptions","organizations_url":"https://api.github.com/users/Kunstmaan/orgs","repos_url":"https://api.github.com/users/Kunstmaan/repos","events_url":"https://api.github.com/users/Kunstmaan/events{/privacy}","received_events_url":"https://api.github.com/users/Kunstmaan/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS","description":"An advanced yet user-friendly content management system, based on the full stack Symfony2 framework combined with a whole host of community bundles. It provides a full featured, multi-language CMS system with an innovative page and form assembling process, versioning, workflow, translation and media managers and much more.","fork":false,"url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS","forks_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/forks","keys_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/teams","hooks_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/hooks","issue_events_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/events{/number}","events_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/events","assignees_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/assignees{/user}","branches_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/branches{/branch}","tags_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/tags","blobs_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/git/refs{/sha}","trees_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/statuses/{sha}","languages_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/languages","stargazers_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/stargazers","contributors_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/contributors","subscribers_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/subscribers","subscription_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/subscription","commits_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/commits{/sha}","git_commits_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/git/commits{/sha}","comments_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/comments{/number}","issue_comment_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/comments{/number}","contents_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/contents/{+path}","compare_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/merges","archive_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/downloads","issues_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues{/number}","pulls_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls{/number}","milestones_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/milestones{/number}","notifications_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/labels{/name}","releases_url":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/releases{/id}","created_at":"2014-08-14T08:32:55Z","updated_at":"2015-10-07T12:14:28Z","pushed_at":"2015-10-14T08:14:21Z","git_url":"git://github.com/Kunstmaan/KunstmaanBundlesCMS.git","ssh_url":"git@github.com:Kunstmaan/KunstmaanBundlesCMS.git","clone_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS.git","svn_url":"https://github.com/Kunstmaan/KunstmaanBundlesCMS","homepage":"https://bundles.kunstmaan.be","size":49778,"stargazers_count":102,"watchers_count":102,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":77,"mirror_url":null,"open_issues_count":108,"forks":77,"open_issues":108,"watchers":102,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729"},"html":{"href":"https://github.com/Kunstmaan/KunstmaanBundlesCMS/pull/729"},"issue":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/729"},"comments":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/issues/729/comments"},"review_comments":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729/comments"},"review_comment":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/pulls/729/commits"},"statuses":{"href":"https://api.github.com/repos/Kunstmaan/KunstmaanBundlesCMS/statuses/c7fb13d43484688618c0300f36192eaf82d167d5"}}}}