{"action":"closed","number":71,"pull_request":{"url":"https://api.github.com/repos/refinery29/newrelic/pulls/71","id":138450210,"html_url":"https://github.com/refinery29/newrelic/pull/71","diff_url":"https://github.com/refinery29/newrelic/pull/71.diff","patch_url":"https://github.com/refinery29/newrelic/pull/71.patch","issue_url":"https://api.github.com/repos/refinery29/newrelic/issues/71","number":71,"state":"closed","locked":false,"title":"Add AgentAwareInterface and AgentAwareTrait","user":{"login":"alucic","id":1689028,"avatar_url":"https://avatars1.githubusercontent.com/u/1689028?v=4","gravatar_id":"","url":"https://api.github.com/users/alucic","html_url":"https://github.com/alucic","followers_url":"https://api.github.com/users/alucic/followers","following_url":"https://api.github.com/users/alucic/following{/other_user}","gists_url":"https://api.github.com/users/alucic/gists{/gist_id}","starred_url":"https://api.github.com/users/alucic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alucic/subscriptions","organizations_url":"https://api.github.com/users/alucic/orgs","repos_url":"https://api.github.com/users/alucic/repos","events_url":"https://api.github.com/users/alucic/events{/privacy}","received_events_url":"https://api.github.com/users/alucic/received_events","type":"User","site_admin":false},"body":"* [x] add `AgentAwareInterface`\r\n* [x] add `AgentAwareTrait`\r\n\r\nThe same idea as with `LoggerAwareInterface` and `LoggerAwareTrait`\r\nhttps://github.com/php-fig/fig-standards/blob/master/accepted/PSR-3-logger-interface.md#14-helper-classes-and-interfaces\r\n\r\n> The Psr\\Log\\LoggerAwareInterface only contains a setLogger(LoggerInterface $logger) method and can be used by frameworks to auto-wire arbitrary instances with a logger.\r\n\r\n> The Psr\\Log\\LoggerAwareTrait trait can be used to implement the equivalent interface easily in any class. It gives you access to $this->logger.","created_at":"2017-08-30T15:00:53Z","updated_at":"2017-09-05T14:05:52Z","closed_at":"2017-09-05T14:05:52Z","merged_at":"2017-09-05T14:05:52Z","merge_commit_sha":"d35bc375f052086edfba5898ace8b8d896521fc1","assignee":null,"assignees":[],"requested_reviewers":[{"login":"PSmolic","id":4542049,"avatar_url":"https://avatars3.githubusercontent.com/u/4542049?v=4","gravatar_id":"","url":"https://api.github.com/users/PSmolic","html_url":"https://github.com/PSmolic","followers_url":"https://api.github.com/users/PSmolic/followers","following_url":"https://api.github.com/users/PSmolic/following{/other_user}","gists_url":"https://api.github.com/users/PSmolic/gists{/gist_id}","starred_url":"https://api.github.com/users/PSmolic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/PSmolic/subscriptions","organizations_url":"https://api.github.com/users/PSmolic/orgs","repos_url":"https://api.github.com/users/PSmolic/repos","events_url":"https://api.github.com/users/PSmolic/events{/privacy}","received_events_url":"https://api.github.com/users/PSmolic/received_events","type":"User","site_admin":false},{"login":"ilanasufrin","id":4762269,"avatar_url":"https://avatars2.githubusercontent.com/u/4762269?v=4","gravatar_id":"","url":"https://api.github.com/users/ilanasufrin","html_url":"https://github.com/ilanasufrin","followers_url":"https://api.github.com/users/ilanasufrin/followers","following_url":"https://api.github.com/users/ilanasufrin/following{/other_user}","gists_url":"https://api.github.com/users/ilanasufrin/gists{/gist_id}","starred_url":"https://api.github.com/users/ilanasufrin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ilanasufrin/subscriptions","organizations_url":"https://api.github.com/users/ilanasufrin/orgs","repos_url":"https://api.github.com/users/ilanasufrin/repos","events_url":"https://api.github.com/users/ilanasufrin/events{/privacy}","received_events_url":"https://api.github.com/users/ilanasufrin/received_events","type":"User","site_admin":false}],"milestone":null,"commits_url":"https://api.github.com/repos/refinery29/newrelic/pulls/71/commits","review_comments_url":"https://api.github.com/repos/refinery29/newrelic/pulls/71/comments","review_comment_url":"https://api.github.com/repos/refinery29/newrelic/pulls/comments{/number}","comments_url":"https://api.github.com/repos/refinery29/newrelic/issues/71/comments","statuses_url":"https://api.github.com/repos/refinery29/newrelic/statuses/6e20b2f89629801b321af9868bb58722ed893e2d","head":{"label":"refinery29:agent-aware-interface","ref":"agent-aware-interface","sha":"6e20b2f89629801b321af9868bb58722ed893e2d","user":{"login":"refinery29","id":821624,"avatar_url":"https://avatars2.githubusercontent.com/u/821624?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"repo":{"id":43733117,"name":"newrelic","full_name":"refinery29/newrelic","owner":{"login":"refinery29","id":821624,"avatar_url":"https://avatars2.githubusercontent.com/u/821624?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery29/newrelic","description":":eyeglasses: Provides a wrapper around the New Relic API.","fork":false,"url":"https://api.github.com/repos/refinery29/newrelic","forks_url":"https://api.github.com/repos/refinery29/newrelic/forks","keys_url":"https://api.github.com/repos/refinery29/newrelic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery29/newrelic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery29/newrelic/teams","hooks_url":"https://api.github.com/repos/refinery29/newrelic/hooks","issue_events_url":"https://api.github.com/repos/refinery29/newrelic/issues/events{/number}","events_url":"https://api.github.com/repos/refinery29/newrelic/events","assignees_url":"https://api.github.com/repos/refinery29/newrelic/assignees{/user}","branches_url":"https://api.github.com/repos/refinery29/newrelic/branches{/branch}","tags_url":"https://api.github.com/repos/refinery29/newrelic/tags","blobs_url":"https://api.github.com/repos/refinery29/newrelic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery29/newrelic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery29/newrelic/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery29/newrelic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery29/newrelic/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery29/newrelic/languages","stargazers_url":"https://api.github.com/repos/refinery29/newrelic/stargazers","contributors_url":"https://api.github.com/repos/refinery29/newrelic/contributors","subscribers_url":"https://api.github.com/repos/refinery29/newrelic/subscribers","subscription_url":"https://api.github.com/repos/refinery29/newrelic/subscription","commits_url":"https://api.github.com/repos/refinery29/newrelic/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery29/newrelic/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery29/newrelic/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery29/newrelic/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery29/newrelic/contents/{+path}","compare_url":"https://api.github.com/repos/refinery29/newrelic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery29/newrelic/merges","archive_url":"https://api.github.com/repos/refinery29/newrelic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery29/newrelic/downloads","issues_url":"https://api.github.com/repos/refinery29/newrelic/issues{/number}","pulls_url":"https://api.github.com/repos/refinery29/newrelic/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery29/newrelic/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery29/newrelic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery29/newrelic/labels{/name}","releases_url":"https://api.github.com/repos/refinery29/newrelic/releases{/id}","deployments_url":"https://api.github.com/repos/refinery29/newrelic/deployments","created_at":"2015-10-06T06:13:41Z","updated_at":"2017-07-02T17:29:15Z","pushed_at":"2017-09-05T14:05:52Z","git_url":"git://github.com/refinery29/newrelic.git","ssh_url":"git@github.com:refinery29/newrelic.git","clone_url":"https://github.com/refinery29/newrelic.git","svn_url":"https://github.com/refinery29/newrelic","homepage":"","size":145,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_projects":true,"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":5,"default_branch":"master"}},"base":{"label":"refinery29:master","ref":"master","sha":"6fecadb1549d7fc5dd8bf1ad3b76437f676be748","user":{"login":"refinery29","id":821624,"avatar_url":"https://avatars2.githubusercontent.com/u/821624?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"repo":{"id":43733117,"name":"newrelic","full_name":"refinery29/newrelic","owner":{"login":"refinery29","id":821624,"avatar_url":"https://avatars2.githubusercontent.com/u/821624?v=4","gravatar_id":"","url":"https://api.github.com/users/refinery29","html_url":"https://github.com/refinery29","followers_url":"https://api.github.com/users/refinery29/followers","following_url":"https://api.github.com/users/refinery29/following{/other_user}","gists_url":"https://api.github.com/users/refinery29/gists{/gist_id}","starred_url":"https://api.github.com/users/refinery29/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/refinery29/subscriptions","organizations_url":"https://api.github.com/users/refinery29/orgs","repos_url":"https://api.github.com/users/refinery29/repos","events_url":"https://api.github.com/users/refinery29/events{/privacy}","received_events_url":"https://api.github.com/users/refinery29/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/refinery29/newrelic","description":":eyeglasses: Provides a wrapper around the New Relic API.","fork":false,"url":"https://api.github.com/repos/refinery29/newrelic","forks_url":"https://api.github.com/repos/refinery29/newrelic/forks","keys_url":"https://api.github.com/repos/refinery29/newrelic/keys{/key_id}","collaborators_url":"https://api.github.com/repos/refinery29/newrelic/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/refinery29/newrelic/teams","hooks_url":"https://api.github.com/repos/refinery29/newrelic/hooks","issue_events_url":"https://api.github.com/repos/refinery29/newrelic/issues/events{/number}","events_url":"https://api.github.com/repos/refinery29/newrelic/events","assignees_url":"https://api.github.com/repos/refinery29/newrelic/assignees{/user}","branches_url":"https://api.github.com/repos/refinery29/newrelic/branches{/branch}","tags_url":"https://api.github.com/repos/refinery29/newrelic/tags","blobs_url":"https://api.github.com/repos/refinery29/newrelic/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/refinery29/newrelic/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/refinery29/newrelic/git/refs{/sha}","trees_url":"https://api.github.com/repos/refinery29/newrelic/git/trees{/sha}","statuses_url":"https://api.github.com/repos/refinery29/newrelic/statuses/{sha}","languages_url":"https://api.github.com/repos/refinery29/newrelic/languages","stargazers_url":"https://api.github.com/repos/refinery29/newrelic/stargazers","contributors_url":"https://api.github.com/repos/refinery29/newrelic/contributors","subscribers_url":"https://api.github.com/repos/refinery29/newrelic/subscribers","subscription_url":"https://api.github.com/repos/refinery29/newrelic/subscription","commits_url":"https://api.github.com/repos/refinery29/newrelic/commits{/sha}","git_commits_url":"https://api.github.com/repos/refinery29/newrelic/git/commits{/sha}","comments_url":"https://api.github.com/repos/refinery29/newrelic/comments{/number}","issue_comment_url":"https://api.github.com/repos/refinery29/newrelic/issues/comments{/number}","contents_url":"https://api.github.com/repos/refinery29/newrelic/contents/{+path}","compare_url":"https://api.github.com/repos/refinery29/newrelic/compare/{base}...{head}","merges_url":"https://api.github.com/repos/refinery29/newrelic/merges","archive_url":"https://api.github.com/repos/refinery29/newrelic/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/refinery29/newrelic/downloads","issues_url":"https://api.github.com/repos/refinery29/newrelic/issues{/number}","pulls_url":"https://api.github.com/repos/refinery29/newrelic/pulls{/number}","milestones_url":"https://api.github.com/repos/refinery29/newrelic/milestones{/number}","notifications_url":"https://api.github.com/repos/refinery29/newrelic/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/refinery29/newrelic/labels{/name}","releases_url":"https://api.github.com/repos/refinery29/newrelic/releases{/id}","deployments_url":"https://api.github.com/repos/refinery29/newrelic/deployments","created_at":"2015-10-06T06:13:41Z","updated_at":"2017-07-02T17:29:15Z","pushed_at":"2017-09-05T14:05:52Z","git_url":"git://github.com/refinery29/newrelic.git","ssh_url":"git@github.com:refinery29/newrelic.git","clone_url":"https://github.com/refinery29/newrelic.git","svn_url":"https://github.com/refinery29/newrelic","homepage":"","size":145,"stargazers_count":5,"watchers_count":5,"language":"PHP","has_issues":true,"has_projects":true,"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":5,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/refinery29/newrelic/pulls/71"},"html":{"href":"https://github.com/refinery29/newrelic/pull/71"},"issue":{"href":"https://api.github.com/repos/refinery29/newrelic/issues/71"},"comments":{"href":"https://api.github.com/repos/refinery29/newrelic/issues/71/comments"},"review_comments":{"href":"https://api.github.com/repos/refinery29/newrelic/pulls/71/comments"},"review_comment":{"href":"https://api.github.com/repos/refinery29/newrelic/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/refinery29/newrelic/pulls/71/commits"},"statuses":{"href":"https://api.github.com/repos/refinery29/newrelic/statuses/6e20b2f89629801b321af9868bb58722ed893e2d"}},"author_association":"MEMBER","merged":true,"mergeable":null,"rebaseable":null,"mergeable_state":"unknown","merged_by":{"login":"alucic","id":1689028,"avatar_url":"https://avatars1.githubusercontent.com/u/1689028?v=4","gravatar_id":"","url":"https://api.github.com/users/alucic","html_url":"https://github.com/alucic","followers_url":"https://api.github.com/users/alucic/followers","following_url":"https://api.github.com/users/alucic/following{/other_user}","gists_url":"https://api.github.com/users/alucic/gists{/gist_id}","starred_url":"https://api.github.com/users/alucic/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alucic/subscriptions","organizations_url":"https://api.github.com/users/alucic/orgs","repos_url":"https://api.github.com/users/alucic/repos","events_url":"https://api.github.com/users/alucic/events{/privacy}","received_events_url":"https://api.github.com/users/alucic/received_events","type":"User","site_admin":false},"comments":0,"review_comments":0,"maintainer_can_modify":false,"commits":1,"additions":38,"deletions":0,"changed_files":2}}
{"actor":{"display_login":"alucic"}}