GitHub PullRequestReviewCommentEvent at 2014-07-23 16:09:08
Repository: MenuBundle
Actor: dbu
Payload: {"action":"created","comment":{"url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/comments/15297306","id":15297306,"diff_hunk":"@@ -0,0 +1,97 @@\n+<?php\n+\n+namespace Symfony\\Cmf\\Bundle\\MenuBundle\\Model;\n+\n+use Knp\\Menu\\ItemInterface;\n+\n+/**\n+ * Interface to be implemented by content that exposes editable HTML attributes for the menu node.\n+ * This is used with the Sonata MenuNodeHtmlAttributeExtension.\n+ *\n+ * @author Mojtaba Koosej <mkoosej@gmail.com>\n+ */\n+\n+interface MenuOptionsInterface\n+{\n+    /**\n+     * Whether or not to display this menu item\n+     *\n+     * @return boolean\n+     */\n+    function getDisplay();\n+\n+    /**\n+     * Set whether or not this menu should be displayed\n+     *\n+     * Provides a fluent interface\n+     *\n+     * @param boolean $bool\n+     * @return \\Knp\\Menu\\ItemInterface\n+     */\n+    function setDisplay($bool);\n+\n+    /**\n+     * Whether or not this menu item should show its children.\n+     *\n+     * @return boolean\n+     */\n+    function getDisplayChildren();\n+\n+    /**\n+     * Set whether or not this menu item should show its children\n+     *\n+     * Provides a fluent interface\n+     *\n+     * @param boolean $bool\n+     * @return \\Knp\\Menu\\ItemInterface\n+     */\n+    function setDisplayChildren($bool);\n+\n+    /**\n+     * @return array\n+     */\n+    function getAttributes();\n+\n+    /**\n+     * @param  array $attributes","path":"Model/MenuOptionsInterface.php","position":56,"original_position":56,"commit_id":"5deba9aa2f727787f5514e32dfe76a6c66e507cf","original_commit_id":"5deba9aa2f727787f5514e32dfe76a6c66e507cf","user":{"login":"dbu","id":76576,"avatar_url":"https://avatars.githubusercontent.com/u/76576?","gravatar_id":"c9f4f8ce2c2936bacaf49500b5a127dc","url":"https://api.github.com/users/dbu","html_url":"https://github.com/dbu","followers_url":"https://api.github.com/users/dbu/followers","following_url":"https://api.github.com/users/dbu/following{/other_user}","gists_url":"https://api.github.com/users/dbu/gists{/gist_id}","starred_url":"https://api.github.com/users/dbu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dbu/subscriptions","organizations_url":"https://api.github.com/users/dbu/orgs","repos_url":"https://api.github.com/users/dbu/repos","events_url":"https://api.github.com/users/dbu/events{/privacy}","received_events_url":"https://api.github.com/users/dbu/received_events","type":"User","site_admin":false},"body":"this should be fluent to be consistent.","created_at":"2014-07-23T16:09:08Z","updated_at":"2014-07-23T16:09:08Z","html_url":"https://github.com/symfony-cmf/MenuBundle/pull/197#discussion_r15297306","pull_request_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197","_links":{"self":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/comments/15297306"},"html":{"href":"https://github.com/symfony-cmf/MenuBundle/pull/197#discussion_r15297306"},"pull_request":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197"}}},"pull_request":{"url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197","id":18778491,"html_url":"https://github.com/symfony-cmf/MenuBundle/pull/197","diff_url":"https://github.com/symfony-cmf/MenuBundle/pull/197.diff","patch_url":"https://github.com/symfony-cmf/MenuBundle/pull/197.patch","issue_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/197","number":197,"state":"open","title":"Add the Admin extension that enables editing HTML attributes","user":{"login":"mkoosej","id":4195529,"avatar_url":"https://avatars.githubusercontent.com/u/4195529?","gravatar_id":"3c4519da918b0c850f82fd865a5d17f6","url":"https://api.github.com/users/mkoosej","html_url":"https://github.com/mkoosej","followers_url":"https://api.github.com/users/mkoosej/followers","following_url":"https://api.github.com/users/mkoosej/following{/other_user}","gists_url":"https://api.github.com/users/mkoosej/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoosej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoosej/subscriptions","organizations_url":"https://api.github.com/users/mkoosej/orgs","repos_url":"https://api.github.com/users/mkoosej/repos","events_url":"https://api.github.com/users/mkoosej/events{/privacy}","received_events_url":"https://api.github.com/users/mkoosej/received_events","type":"User","site_admin":false},"body":"Contains an interface that encapsulates the attributes related methods for the menuNode.\r\nRelies on burgov/key-value-form-bundle for the admin.","created_at":"2014-07-23T14:27:01Z","updated_at":"2014-07-23T16:09:08Z","closed_at":null,"merged_at":null,"merge_commit_sha":"7f2036e86bc2486096b7e9c44fb12b583d7894a2","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197/commits","review_comments_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197/comments","review_comment_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/comments/{number}","comments_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/197/comments","statuses_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/statuses/5deba9aa2f727787f5514e32dfe76a6c66e507cf","head":{"label":"mkoosej:master","ref":"master","sha":"5deba9aa2f727787f5514e32dfe76a6c66e507cf","user":{"login":"mkoosej","id":4195529,"avatar_url":"https://avatars.githubusercontent.com/u/4195529?","gravatar_id":"3c4519da918b0c850f82fd865a5d17f6","url":"https://api.github.com/users/mkoosej","html_url":"https://github.com/mkoosej","followers_url":"https://api.github.com/users/mkoosej/followers","following_url":"https://api.github.com/users/mkoosej/following{/other_user}","gists_url":"https://api.github.com/users/mkoosej/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoosej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoosej/subscriptions","organizations_url":"https://api.github.com/users/mkoosej/orgs","repos_url":"https://api.github.com/users/mkoosej/repos","events_url":"https://api.github.com/users/mkoosej/events{/privacy}","received_events_url":"https://api.github.com/users/mkoosej/received_events","type":"User","site_admin":false},"repo":{"id":22074439,"name":"MenuBundle","full_name":"mkoosej/MenuBundle","owner":{"login":"mkoosej","id":4195529,"avatar_url":"https://avatars.githubusercontent.com/u/4195529?","gravatar_id":"3c4519da918b0c850f82fd865a5d17f6","url":"https://api.github.com/users/mkoosej","html_url":"https://github.com/mkoosej","followers_url":"https://api.github.com/users/mkoosej/followers","following_url":"https://api.github.com/users/mkoosej/following{/other_user}","gists_url":"https://api.github.com/users/mkoosej/gists{/gist_id}","starred_url":"https://api.github.com/users/mkoosej/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mkoosej/subscriptions","organizations_url":"https://api.github.com/users/mkoosej/orgs","repos_url":"https://api.github.com/users/mkoosej/repos","events_url":"https://api.github.com/users/mkoosej/events{/privacy}","received_events_url":"https://api.github.com/users/mkoosej/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/mkoosej/MenuBundle","description":"Extends the KnpMenuBundle to work with PHPCR ODM","fork":true,"url":"https://api.github.com/repos/mkoosej/MenuBundle","forks_url":"https://api.github.com/repos/mkoosej/MenuBundle/forks","keys_url":"https://api.github.com/repos/mkoosej/MenuBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mkoosej/MenuBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mkoosej/MenuBundle/teams","hooks_url":"https://api.github.com/repos/mkoosej/MenuBundle/hooks","issue_events_url":"https://api.github.com/repos/mkoosej/MenuBundle/issues/events{/number}","events_url":"https://api.github.com/repos/mkoosej/MenuBundle/events","assignees_url":"https://api.github.com/repos/mkoosej/MenuBundle/assignees{/user}","branches_url":"https://api.github.com/repos/mkoosej/MenuBundle/branches{/branch}","tags_url":"https://api.github.com/repos/mkoosej/MenuBundle/tags","blobs_url":"https://api.github.com/repos/mkoosej/MenuBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mkoosej/MenuBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mkoosej/MenuBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/mkoosej/MenuBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mkoosej/MenuBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/mkoosej/MenuBundle/languages","stargazers_url":"https://api.github.com/repos/mkoosej/MenuBundle/stargazers","contributors_url":"https://api.github.com/repos/mkoosej/MenuBundle/contributors","subscribers_url":"https://api.github.com/repos/mkoosej/MenuBundle/subscribers","subscription_url":"https://api.github.com/repos/mkoosej/MenuBundle/subscription","commits_url":"https://api.github.com/repos/mkoosej/MenuBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/mkoosej/MenuBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/mkoosej/MenuBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/mkoosej/MenuBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/mkoosej/MenuBundle/contents/{+path}","compare_url":"https://api.github.com/repos/mkoosej/MenuBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mkoosej/MenuBundle/merges","archive_url":"https://api.github.com/repos/mkoosej/MenuBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mkoosej/MenuBundle/downloads","issues_url":"https://api.github.com/repos/mkoosej/MenuBundle/issues{/number}","pulls_url":"https://api.github.com/repos/mkoosej/MenuBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/mkoosej/MenuBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/mkoosej/MenuBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mkoosej/MenuBundle/labels{/name}","releases_url":"https://api.github.com/repos/mkoosej/MenuBundle/releases{/id}","created_at":"2014-07-21T18:01:07Z","updated_at":"2014-07-22T16:54:53Z","pushed_at":"2014-07-23T14:11:28Z","git_url":"git://github.com/mkoosej/MenuBundle.git","ssh_url":"git@github.com:mkoosej/MenuBundle.git","clone_url":"https://github.com/mkoosej/MenuBundle.git","svn_url":"https://github.com/mkoosej/MenuBundle","homepage":"http://cmf.symfony.com","size":717,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":false,"forks_count":0,"mirror_url":null,"open_issues_count":0,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"symfony-cmf:master","ref":"master","sha":"f7bd490e2d904fe71e31321e345ca1259916b552","user":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?","gravatar_id":"b763f9b4c5b60eb4a8b1b5d530cdd59a","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"repo":{"id":4233004,"name":"MenuBundle","full_name":"symfony-cmf/MenuBundle","owner":{"login":"symfony-cmf","id":342045,"avatar_url":"https://avatars.githubusercontent.com/u/342045?","gravatar_id":"b763f9b4c5b60eb4a8b1b5d530cdd59a","url":"https://api.github.com/users/symfony-cmf","html_url":"https://github.com/symfony-cmf","followers_url":"https://api.github.com/users/symfony-cmf/followers","following_url":"https://api.github.com/users/symfony-cmf/following{/other_user}","gists_url":"https://api.github.com/users/symfony-cmf/gists{/gist_id}","starred_url":"https://api.github.com/users/symfony-cmf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/symfony-cmf/subscriptions","organizations_url":"https://api.github.com/users/symfony-cmf/orgs","repos_url":"https://api.github.com/users/symfony-cmf/repos","events_url":"https://api.github.com/users/symfony-cmf/events{/privacy}","received_events_url":"https://api.github.com/users/symfony-cmf/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/symfony-cmf/MenuBundle","description":"Extends the KnpMenuBundle to work with PHPCR ODM","fork":false,"url":"https://api.github.com/repos/symfony-cmf/MenuBundle","forks_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/forks","keys_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/keys{/key_id}","collaborators_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/teams","hooks_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/hooks","issue_events_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/events{/number}","events_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/events","assignees_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/assignees{/user}","branches_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/branches{/branch}","tags_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/tags","blobs_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/git/refs{/sha}","trees_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/git/trees{/sha}","statuses_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/statuses/{sha}","languages_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/languages","stargazers_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/stargazers","contributors_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/contributors","subscribers_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/subscribers","subscription_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/subscription","commits_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/commits{/sha}","git_commits_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/git/commits{/sha}","comments_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/comments{/number}","issue_comment_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/comments/{number}","contents_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/contents/{+path}","compare_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/compare/{base}...{head}","merges_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/merges","archive_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/downloads","issues_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues{/number}","pulls_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls{/number}","milestones_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/milestones{/number}","notifications_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/labels{/name}","releases_url":"https://api.github.com/repos/symfony-cmf/MenuBundle/releases{/id}","created_at":"2012-05-05T10:22:37Z","updated_at":"2014-06-14T10:06:11Z","pushed_at":"2014-06-14T10:06:11Z","git_url":"git://github.com/symfony-cmf/MenuBundle.git","ssh_url":"git@github.com:symfony-cmf/MenuBundle.git","clone_url":"https://github.com/symfony-cmf/MenuBundle.git","svn_url":"https://github.com/symfony-cmf/MenuBundle","homepage":"http://cmf.symfony.com","size":2547,"stargazers_count":19,"watchers_count":19,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"forks_count":40,"mirror_url":null,"open_issues_count":13,"forks":40,"open_issues":13,"watchers":19,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197"},"html":{"href":"https://github.com/symfony-cmf/MenuBundle/pull/197"},"issue":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/197"},"comments":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/issues/197/comments"},"review_comments":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197/comments"},"review_comment":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/pulls/197/commits"},"statuses":{"href":"https://api.github.com/repos/symfony-cmf/MenuBundle/statuses/5deba9aa2f727787f5514e32dfe76a6c66e507cf"}}}}