{"action":"created","comment":{"url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/comments/31302966","id":31302966,"diff_hunk":"@@ -0,0 +1,73 @@\n+<?php\n+/**\n+ * phpDocumentor\n+ *\n+ * PHP Version 5.5\n+ *\n+ * @copyright 2010-2015 Mike van Riel / Naenius (http://www.naenius.com)\n+ * @license   http://www.opensource.org/licenses/mit-license.php MIT\n+ * @link      http://phpdoc.org\n+ */\n+\n+namespace phpDocumentor;\n+\n+use phpDocumentor\\Project\\Version\\Definition;\n+\n+/**\n+ * Factory to create Documentation objects out of Project\\Version\\Definition.\n+ * Will use DocumentationGroupFactories to create the DocumentationGroups.\n+ * DocumentationGroupFactories can be registered using the addDocumentationGroupFactory method\n+ */\n+final class DocumentationFactory\n+{\n+    /**\n+     * @var DocumentGroupFactory[]\n+     */\n+    private $documentGroupFactories;\n+\n+    /**\n+     * Creates Documentation object.\n+     *\n+     * @param Definition $versionDefinition\n+     * @return Documentation\n+     * @throws Exception","path":"src/phpDocumentor/DocumentationFactory.php","position":33,"original_position":33,"commit_id":"7e4e9d5754717cc403bdea44c8d921474d3e5a99","original_commit_id":"7e4e9d5754717cc403bdea44c8d921474d3e5a99","user":{"login":"mvriel","id":193704,"avatar_url":"https://avatars.githubusercontent.com/u/193704?v=3","gravatar_id":"","url":"https://api.github.com/users/mvriel","html_url":"https://github.com/mvriel","followers_url":"https://api.github.com/users/mvriel/followers","following_url":"https://api.github.com/users/mvriel/following{/other_user}","gists_url":"https://api.github.com/users/mvriel/gists{/gist_id}","starred_url":"https://api.github.com/users/mvriel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mvriel/subscriptions","organizations_url":"https://api.github.com/users/mvriel/orgs","repos_url":"https://api.github.com/users/mvriel/repos","events_url":"https://api.github.com/users/mvriel/events{/privacy}","received_events_url":"https://api.github.com/users/mvriel/received_events","type":"User","site_admin":false},"body":"Please mention when the exception is thrown in the description of the tag","created_at":"2015-05-29T07:01:44Z","updated_at":"2015-05-29T07:01:44Z","html_url":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577#discussion_r31302966","pull_request_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577","_links":{"self":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/comments/31302966"},"html":{"href":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577#discussion_r31302966"},"pull_request":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577"}}},"pull_request":{"url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577","id":36450961,"html_url":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577","diff_url":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577.diff","patch_url":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577.patch","issue_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1577","number":1577,"state":"open","locked":false,"title":"Feature/documentation foundation","user":{"login":"jaapio","id":1060433,"avatar_url":"https://avatars.githubusercontent.com/u/1060433?v=3","gravatar_id":"","url":"https://api.github.com/users/jaapio","html_url":"https://github.com/jaapio","followers_url":"https://api.github.com/users/jaapio/followers","following_url":"https://api.github.com/users/jaapio/following{/other_user}","gists_url":"https://api.github.com/users/jaapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapio/subscriptions","organizations_url":"https://api.github.com/users/jaapio/orgs","repos_url":"https://api.github.com/users/jaapio/repos","events_url":"https://api.github.com/users/jaapio/events{/privacy}","received_events_url":"https://api.github.com/users/jaapio/received_events","type":"User","site_admin":false},"body":"First part of implementation of the documentation foundation. Contains documention and repository classes.  And a number of interfaces required for the documentgroups.","created_at":"2015-05-28T21:07:41Z","updated_at":"2015-05-29T07:01:44Z","closed_at":null,"merged_at":null,"merge_commit_sha":"0242b5e16e26d8268c89b096eb8d8d74aee3ef6d","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577/commits","review_comments_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577/comments","review_comment_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1577/comments","statuses_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/statuses/7e4e9d5754717cc403bdea44c8d921474d3e5a99","head":{"label":"jaapio:feature/DocumentationFoundation","ref":"feature/DocumentationFoundation","sha":"7e4e9d5754717cc403bdea44c8d921474d3e5a99","user":{"login":"jaapio","id":1060433,"avatar_url":"https://avatars.githubusercontent.com/u/1060433?v=3","gravatar_id":"","url":"https://api.github.com/users/jaapio","html_url":"https://github.com/jaapio","followers_url":"https://api.github.com/users/jaapio/followers","following_url":"https://api.github.com/users/jaapio/following{/other_user}","gists_url":"https://api.github.com/users/jaapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapio/subscriptions","organizations_url":"https://api.github.com/users/jaapio/orgs","repos_url":"https://api.github.com/users/jaapio/repos","events_url":"https://api.github.com/users/jaapio/events{/privacy}","received_events_url":"https://api.github.com/users/jaapio/received_events","type":"User","site_admin":false},"repo":{"id":22478402,"name":"phpDocumentor2","full_name":"jaapio/phpDocumentor2","owner":{"login":"jaapio","id":1060433,"avatar_url":"https://avatars.githubusercontent.com/u/1060433?v=3","gravatar_id":"","url":"https://api.github.com/users/jaapio","html_url":"https://github.com/jaapio","followers_url":"https://api.github.com/users/jaapio/followers","following_url":"https://api.github.com/users/jaapio/following{/other_user}","gists_url":"https://api.github.com/users/jaapio/gists{/gist_id}","starred_url":"https://api.github.com/users/jaapio/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jaapio/subscriptions","organizations_url":"https://api.github.com/users/jaapio/orgs","repos_url":"https://api.github.com/users/jaapio/repos","events_url":"https://api.github.com/users/jaapio/events{/privacy}","received_events_url":"https://api.github.com/users/jaapio/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jaapio/phpDocumentor2","description":"Documentation Generator for PHP ","fork":true,"url":"https://api.github.com/repos/jaapio/phpDocumentor2","forks_url":"https://api.github.com/repos/jaapio/phpDocumentor2/forks","keys_url":"https://api.github.com/repos/jaapio/phpDocumentor2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jaapio/phpDocumentor2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jaapio/phpDocumentor2/teams","hooks_url":"https://api.github.com/repos/jaapio/phpDocumentor2/hooks","issue_events_url":"https://api.github.com/repos/jaapio/phpDocumentor2/issues/events{/number}","events_url":"https://api.github.com/repos/jaapio/phpDocumentor2/events","assignees_url":"https://api.github.com/repos/jaapio/phpDocumentor2/assignees{/user}","branches_url":"https://api.github.com/repos/jaapio/phpDocumentor2/branches{/branch}","tags_url":"https://api.github.com/repos/jaapio/phpDocumentor2/tags","blobs_url":"https://api.github.com/repos/jaapio/phpDocumentor2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jaapio/phpDocumentor2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jaapio/phpDocumentor2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jaapio/phpDocumentor2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jaapio/phpDocumentor2/statuses/{sha}","languages_url":"https://api.github.com/repos/jaapio/phpDocumentor2/languages","stargazers_url":"https://api.github.com/repos/jaapio/phpDocumentor2/stargazers","contributors_url":"https://api.github.com/repos/jaapio/phpDocumentor2/contributors","subscribers_url":"https://api.github.com/repos/jaapio/phpDocumentor2/subscribers","subscription_url":"https://api.github.com/repos/jaapio/phpDocumentor2/subscription","commits_url":"https://api.github.com/repos/jaapio/phpDocumentor2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jaapio/phpDocumentor2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jaapio/phpDocumentor2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jaapio/phpDocumentor2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jaapio/phpDocumentor2/contents/{+path}","compare_url":"https://api.github.com/repos/jaapio/phpDocumentor2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jaapio/phpDocumentor2/merges","archive_url":"https://api.github.com/repos/jaapio/phpDocumentor2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jaapio/phpDocumentor2/downloads","issues_url":"https://api.github.com/repos/jaapio/phpDocumentor2/issues{/number}","pulls_url":"https://api.github.com/repos/jaapio/phpDocumentor2/pulls{/number}","milestones_url":"https://api.github.com/repos/jaapio/phpDocumentor2/milestones{/number}","notifications_url":"https://api.github.com/repos/jaapio/phpDocumentor2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jaapio/phpDocumentor2/labels{/name}","releases_url":"https://api.github.com/repos/jaapio/phpDocumentor2/releases{/id}","created_at":"2014-07-31T17:30:57Z","updated_at":"2015-05-08T19:31:18Z","pushed_at":"2015-05-28T22:04:36Z","git_url":"git://github.com/jaapio/phpDocumentor2.git","ssh_url":"git@github.com:jaapio/phpDocumentor2.git","clone_url":"https://github.com/jaapio/phpDocumentor2.git","svn_url":"https://github.com/jaapio/phpDocumentor2","homepage":"http://www.phpdoc.org","size":26755,"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":"develop"}},"base":{"label":"phpDocumentor:develop","ref":"develop","sha":"7b0291cef1509db47bf9c3526f1daecb2e3ccbd4","user":{"login":"phpDocumentor","id":1239567,"avatar_url":"https://avatars.githubusercontent.com/u/1239567?v=3","gravatar_id":"","url":"https://api.github.com/users/phpDocumentor","html_url":"https://github.com/phpDocumentor","followers_url":"https://api.github.com/users/phpDocumentor/followers","following_url":"https://api.github.com/users/phpDocumentor/following{/other_user}","gists_url":"https://api.github.com/users/phpDocumentor/gists{/gist_id}","starred_url":"https://api.github.com/users/phpDocumentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpDocumentor/subscriptions","organizations_url":"https://api.github.com/users/phpDocumentor/orgs","repos_url":"https://api.github.com/users/phpDocumentor/repos","events_url":"https://api.github.com/users/phpDocumentor/events{/privacy}","received_events_url":"https://api.github.com/users/phpDocumentor/received_events","type":"Organization","site_admin":false},"repo":{"id":761653,"name":"phpDocumentor2","full_name":"phpDocumentor/phpDocumentor2","owner":{"login":"phpDocumentor","id":1239567,"avatar_url":"https://avatars.githubusercontent.com/u/1239567?v=3","gravatar_id":"","url":"https://api.github.com/users/phpDocumentor","html_url":"https://github.com/phpDocumentor","followers_url":"https://api.github.com/users/phpDocumentor/followers","following_url":"https://api.github.com/users/phpDocumentor/following{/other_user}","gists_url":"https://api.github.com/users/phpDocumentor/gists{/gist_id}","starred_url":"https://api.github.com/users/phpDocumentor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phpDocumentor/subscriptions","organizations_url":"https://api.github.com/users/phpDocumentor/orgs","repos_url":"https://api.github.com/users/phpDocumentor/repos","events_url":"https://api.github.com/users/phpDocumentor/events{/privacy}","received_events_url":"https://api.github.com/users/phpDocumentor/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/phpDocumentor/phpDocumentor2","description":"Documentation Generator for PHP ","fork":false,"url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2","forks_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/forks","keys_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/teams","hooks_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/hooks","issue_events_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/events{/number}","events_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/events","assignees_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/assignees{/user}","branches_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/branches{/branch}","tags_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/tags","blobs_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/git/refs{/sha}","trees_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/statuses/{sha}","languages_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/languages","stargazers_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/stargazers","contributors_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/contributors","subscribers_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/subscribers","subscription_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/subscription","commits_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/commits{/sha}","git_commits_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/git/commits{/sha}","comments_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/comments{/number}","issue_comment_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/comments{/number}","contents_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/contents/{+path}","compare_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/merges","archive_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/downloads","issues_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues{/number}","pulls_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls{/number}","milestones_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/milestones{/number}","notifications_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/labels{/name}","releases_url":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/releases{/id}","created_at":"2010-07-07T12:07:55Z","updated_at":"2015-05-29T06:25:24Z","pushed_at":"2015-05-29T06:53:38Z","git_url":"git://github.com/phpDocumentor/phpDocumentor2.git","ssh_url":"git@github.com:phpDocumentor/phpDocumentor2.git","clone_url":"https://github.com/phpDocumentor/phpDocumentor2.git","svn_url":"https://github.com/phpDocumentor/phpDocumentor2","homepage":"http://www.phpdoc.org","size":33596,"stargazers_count":1456,"watchers_count":1456,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":false,"has_pages":false,"forks_count":378,"mirror_url":null,"open_issues_count":223,"forks":378,"open_issues":223,"watchers":1456,"default_branch":"develop"}},"_links":{"self":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577"},"html":{"href":"https://github.com/phpDocumentor/phpDocumentor2/pull/1577"},"issue":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1577"},"comments":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/issues/1577/comments"},"review_comments":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577/comments"},"review_comment":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/pulls/1577/commits"},"statuses":{"href":"https://api.github.com/repos/phpDocumentor/phpDocumentor2/statuses/7e4e9d5754717cc403bdea44c8d921474d3e5a99"}}}}