{"action":"created","comment":{"url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/comments/219709997","pull_request_review_id":157950355,"id":219709997,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDIxOTcwOTk5Nw==","diff_hunk":"@@ -0,0 +1,142 @@\n+<?php\n+\n+declare(strict_types=1);\n+\n+namespace Doctrine\\Website\\DataSource;\n+\n+use Doctrine\\SkeletonMapper\\DataRepository\\BasicObjectDataRepository;\n+use Doctrine\\SkeletonMapper\\ObjectManagerInterface;\n+use function array_slice;\n+use function in_array;\n+use function usort;\n+\n+class DataSourceObjectDataRepository extends BasicObjectDataRepository","path":"lib/DataSource/DataSourceObjectDataRepository.php","position":13,"original_position":13,"commit_id":"05d74158239bf61de77fca66f5a4b135b37e5f8a","original_commit_id":"05d74158239bf61de77fca66f5a4b135b37e5f8a","user":{"login":"jwage","id":97422,"node_id":"MDQ6VXNlcjk3NDIy","avatar_url":"https://avatars0.githubusercontent.com/u/97422?v=4","gravatar_id":"","url":"https://api.github.com/users/jwage","html_url":"https://github.com/jwage","followers_url":"https://api.github.com/users/jwage/followers","following_url":"https://api.github.com/users/jwage/following{/other_user}","gists_url":"https://api.github.com/users/jwage/gists{/gist_id}","starred_url":"https://api.github.com/users/jwage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwage/subscriptions","organizations_url":"https://api.github.com/users/jwage/orgs","repos_url":"https://api.github.com/users/jwage/repos","events_url":"https://api.github.com/users/jwage/events{/privacy}","received_events_url":"https://api.github.com/users/jwage/received_events","type":"User","site_admin":false},"body":"In the skeleton mapper you have two interfaces. The first is how you provide the raw data to the mapper called ObjectDataRepository. The other is ObjectRepository which you are familiar with from the other Doctrine object mapper implementations.","created_at":"2018-09-23T20:15:19Z","updated_at":"2018-09-23T20:15:19Z","html_url":"https://github.com/doctrine/doctrine-website/pull/247#discussion_r219709997","pull_request_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247","author_association":"MEMBER","_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/comments/219709997"},"html":{"href":"https://github.com/doctrine/doctrine-website/pull/247#discussion_r219709997"},"pull_request":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247"}},"in_reply_to_id":219703181},"pull_request":{"url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247","id":216761703,"node_id":"MDExOlB1bGxSZXF1ZXN0MjE2NzYxNzAz","html_url":"https://github.com/doctrine/doctrine-website/pull/247","diff_url":"https://github.com/doctrine/doctrine-website/pull/247.diff","patch_url":"https://github.com/doctrine/doctrine-website/pull/247.patch","issue_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/247","number":247,"state":"open","locked":false,"title":"Use Doctrine Skeleton Mapper for the object mapper layer.","user":{"login":"jwage","id":97422,"node_id":"MDQ6VXNlcjk3NDIy","avatar_url":"https://avatars0.githubusercontent.com/u/97422?v=4","gravatar_id":"","url":"https://api.github.com/users/jwage","html_url":"https://github.com/jwage","followers_url":"https://api.github.com/users/jwage/followers","following_url":"https://api.github.com/users/jwage/following{/other_user}","gists_url":"https://api.github.com/users/jwage/gists{/gist_id}","starred_url":"https://api.github.com/users/jwage/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jwage/subscriptions","organizations_url":"https://api.github.com/users/jwage/orgs","repos_url":"https://api.github.com/users/jwage/repos","events_url":"https://api.github.com/users/jwage/events{/privacy}","received_events_url":"https://api.github.com/users/jwage/received_events","type":"User","site_admin":false},"body":"Playing around with using https://github.com/doctrine/skeleton-mapper for the object mapper layer. This makes it so we can easily manage models where the data is provided from arrays of data provided by container parameters.","created_at":"2018-09-19T20:11:45Z","updated_at":"2018-09-23T20:15:19Z","closed_at":null,"merged_at":null,"merge_commit_sha":"2ee43014811a5bbfeeb2894ef5d65a7305e1f9de","assignee":null,"assignees":[],"requested_reviewers":[{"login":"Majkl578","id":144181,"node_id":"MDQ6VXNlcjE0NDE4MQ==","avatar_url":"https://avatars2.githubusercontent.com/u/144181?v=4","gravatar_id":"","url":"https://api.github.com/users/Majkl578","html_url":"https://github.com/Majkl578","followers_url":"https://api.github.com/users/Majkl578/followers","following_url":"https://api.github.com/users/Majkl578/following{/other_user}","gists_url":"https://api.github.com/users/Majkl578/gists{/gist_id}","starred_url":"https://api.github.com/users/Majkl578/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Majkl578/subscriptions","organizations_url":"https://api.github.com/users/Majkl578/orgs","repos_url":"https://api.github.com/users/Majkl578/repos","events_url":"https://api.github.com/users/Majkl578/events{/privacy}","received_events_url":"https://api.github.com/users/Majkl578/received_events","type":"User","site_admin":false}],"requested_teams":[],"labels":[{"id":884487042,"node_id":"MDU6TGFiZWw4ODQ0ODcwNDI=","url":"https://api.github.com/repos/doctrine/doctrine-website/labels/Enhancement","name":"Enhancement","color":"a2eeef","default":false}],"milestone":null,"commits_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247/commits","review_comments_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247/comments","review_comment_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls/comments{/number}","comments_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/247/comments","statuses_url":"https://api.github.com/repos/doctrine/doctrine-website/statuses/05d74158239bf61de77fca66f5a4b135b37e5f8a","head":{"label":"doctrine:object-mapper","ref":"object-mapper","sha":"05d74158239bf61de77fca66f5a4b135b37e5f8a","user":{"login":"doctrine","id":209254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTI1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":127386646,"node_id":"MDEwOlJlcG9zaXRvcnkxMjczODY2NDY=","name":"doctrine-website","full_name":"doctrine/doctrine-website","private":false,"owner":{"login":"doctrine","id":209254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTI1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/doctrine/doctrine-website","description":"Source code for the doctrine-project.org website and documentation.","fork":false,"url":"https://api.github.com/repos/doctrine/doctrine-website","forks_url":"https://api.github.com/repos/doctrine/doctrine-website/forks","keys_url":"https://api.github.com/repos/doctrine/doctrine-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/doctrine-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/doctrine-website/teams","hooks_url":"https://api.github.com/repos/doctrine/doctrine-website/hooks","issue_events_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/doctrine-website/events","assignees_url":"https://api.github.com/repos/doctrine/doctrine-website/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/doctrine-website/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/doctrine-website/tags","blobs_url":"https://api.github.com/repos/doctrine/doctrine-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/doctrine-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/doctrine-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/doctrine-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/doctrine-website/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/doctrine-website/languages","stargazers_url":"https://api.github.com/repos/doctrine/doctrine-website/stargazers","contributors_url":"https://api.github.com/repos/doctrine/doctrine-website/contributors","subscribers_url":"https://api.github.com/repos/doctrine/doctrine-website/subscribers","subscription_url":"https://api.github.com/repos/doctrine/doctrine-website/subscription","commits_url":"https://api.github.com/repos/doctrine/doctrine-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/doctrine-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/doctrine-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/doctrine-website/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/doctrine-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/doctrine-website/merges","archive_url":"https://api.github.com/repos/doctrine/doctrine-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/doctrine-website/downloads","issues_url":"https://api.github.com/repos/doctrine/doctrine-website/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/doctrine-website/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/doctrine-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/doctrine-website/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/doctrine-website/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/doctrine-website/deployments","created_at":"2018-03-30T05:44:19Z","updated_at":"2018-09-20T01:37:35Z","pushed_at":"2018-09-21T23:38:13Z","git_url":"git://github.com/doctrine/doctrine-website.git","ssh_url":"git@github.com:doctrine/doctrine-website.git","clone_url":"https://github.com/doctrine/doctrine-website.git","svn_url":"https://github.com/doctrine/doctrine-website","homepage":"https://www.doctrine-project.org","size":3484,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":16,"watchers":14,"default_branch":"master"}},"base":{"label":"doctrine:master","ref":"master","sha":"eb7b4a2c43d7b560f5d8c7221f496575ec0362cb","user":{"login":"doctrine","id":209254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTI1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"repo":{"id":127386646,"node_id":"MDEwOlJlcG9zaXRvcnkxMjczODY2NDY=","name":"doctrine-website","full_name":"doctrine/doctrine-website","private":false,"owner":{"login":"doctrine","id":209254,"node_id":"MDEyOk9yZ2FuaXphdGlvbjIwOTI1NA==","avatar_url":"https://avatars3.githubusercontent.com/u/209254?v=4","gravatar_id":"","url":"https://api.github.com/users/doctrine","html_url":"https://github.com/doctrine","followers_url":"https://api.github.com/users/doctrine/followers","following_url":"https://api.github.com/users/doctrine/following{/other_user}","gists_url":"https://api.github.com/users/doctrine/gists{/gist_id}","starred_url":"https://api.github.com/users/doctrine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/doctrine/subscriptions","organizations_url":"https://api.github.com/users/doctrine/orgs","repos_url":"https://api.github.com/users/doctrine/repos","events_url":"https://api.github.com/users/doctrine/events{/privacy}","received_events_url":"https://api.github.com/users/doctrine/received_events","type":"Organization","site_admin":false},"html_url":"https://github.com/doctrine/doctrine-website","description":"Source code for the doctrine-project.org website and documentation.","fork":false,"url":"https://api.github.com/repos/doctrine/doctrine-website","forks_url":"https://api.github.com/repos/doctrine/doctrine-website/forks","keys_url":"https://api.github.com/repos/doctrine/doctrine-website/keys{/key_id}","collaborators_url":"https://api.github.com/repos/doctrine/doctrine-website/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/doctrine/doctrine-website/teams","hooks_url":"https://api.github.com/repos/doctrine/doctrine-website/hooks","issue_events_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/events{/number}","events_url":"https://api.github.com/repos/doctrine/doctrine-website/events","assignees_url":"https://api.github.com/repos/doctrine/doctrine-website/assignees{/user}","branches_url":"https://api.github.com/repos/doctrine/doctrine-website/branches{/branch}","tags_url":"https://api.github.com/repos/doctrine/doctrine-website/tags","blobs_url":"https://api.github.com/repos/doctrine/doctrine-website/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/doctrine/doctrine-website/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/doctrine/doctrine-website/git/refs{/sha}","trees_url":"https://api.github.com/repos/doctrine/doctrine-website/git/trees{/sha}","statuses_url":"https://api.github.com/repos/doctrine/doctrine-website/statuses/{sha}","languages_url":"https://api.github.com/repos/doctrine/doctrine-website/languages","stargazers_url":"https://api.github.com/repos/doctrine/doctrine-website/stargazers","contributors_url":"https://api.github.com/repos/doctrine/doctrine-website/contributors","subscribers_url":"https://api.github.com/repos/doctrine/doctrine-website/subscribers","subscription_url":"https://api.github.com/repos/doctrine/doctrine-website/subscription","commits_url":"https://api.github.com/repos/doctrine/doctrine-website/commits{/sha}","git_commits_url":"https://api.github.com/repos/doctrine/doctrine-website/git/commits{/sha}","comments_url":"https://api.github.com/repos/doctrine/doctrine-website/comments{/number}","issue_comment_url":"https://api.github.com/repos/doctrine/doctrine-website/issues/comments{/number}","contents_url":"https://api.github.com/repos/doctrine/doctrine-website/contents/{+path}","compare_url":"https://api.github.com/repos/doctrine/doctrine-website/compare/{base}...{head}","merges_url":"https://api.github.com/repos/doctrine/doctrine-website/merges","archive_url":"https://api.github.com/repos/doctrine/doctrine-website/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/doctrine/doctrine-website/downloads","issues_url":"https://api.github.com/repos/doctrine/doctrine-website/issues{/number}","pulls_url":"https://api.github.com/repos/doctrine/doctrine-website/pulls{/number}","milestones_url":"https://api.github.com/repos/doctrine/doctrine-website/milestones{/number}","notifications_url":"https://api.github.com/repos/doctrine/doctrine-website/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/doctrine/doctrine-website/labels{/name}","releases_url":"https://api.github.com/repos/doctrine/doctrine-website/releases{/id}","deployments_url":"https://api.github.com/repos/doctrine/doctrine-website/deployments","created_at":"2018-03-30T05:44:19Z","updated_at":"2018-09-20T01:37:35Z","pushed_at":"2018-09-21T23:38:13Z","git_url":"git://github.com/doctrine/doctrine-website.git","ssh_url":"git@github.com:doctrine/doctrine-website.git","clone_url":"https://github.com/doctrine/doctrine-website.git","svn_url":"https://github.com/doctrine/doctrine-website","homepage":"https://www.doctrine-project.org","size":3484,"stargazers_count":14,"watchers_count":14,"language":"PHP","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":17,"mirror_url":null,"archived":false,"open_issues_count":16,"license":{"key":"mit","name":"MIT License","spdx_id":"MIT","url":"https://api.github.com/licenses/mit","node_id":"MDc6TGljZW5zZTEz"},"forks":17,"open_issues":16,"watchers":14,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247"},"html":{"href":"https://github.com/doctrine/doctrine-website/pull/247"},"issue":{"href":"https://api.github.com/repos/doctrine/doctrine-website/issues/247"},"comments":{"href":"https://api.github.com/repos/doctrine/doctrine-website/issues/247/comments"},"review_comments":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247/comments"},"review_comment":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/doctrine/doctrine-website/pulls/247/commits"},"statuses":{"href":"https://api.github.com/repos/doctrine/doctrine-website/statuses/05d74158239bf61de77fca66f5a4b135b37e5f8a"}},"author_association":"MEMBER"}}
{"actor":{"display_login":"jwage"}}