{"action":"created","comment":{"url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/comments/53712884","id":53712884,"diff_hunk":"@@ -332,6 +333,19 @@ public function fetch(array $options = array()) {\n   }\n \n   /**\n+   * Re-fetches site attributes from the API\n+   *\n+   * @return void\n+   */\n+  public function fetchAttributes() {\n+    $response = $this->request->simpleRequest(\n+      sprintf('sites/%s/settings', $this->get('id'))\n+    );\n+    $this->attributes = $response['data'];\n+    $this->collection->sites_cache->update((array)$response['data']);","path":"php/Terminus/Models/Site.php","position":21,"original_position":21,"commit_id":"0bdb2016a35b1923808a35fe527918184ae4e607","original_commit_id":"0bdb2016a35b1923808a35fe527918184ae4e607","user":{"login":"TeslaDethray","id":868204,"avatar_url":"https://avatars.githubusercontent.com/u/868204?v=3","gravatar_id":"","url":"https://api.github.com/users/TeslaDethray","html_url":"https://github.com/TeslaDethray","followers_url":"https://api.github.com/users/TeslaDethray/followers","following_url":"https://api.github.com/users/TeslaDethray/following{/other_user}","gists_url":"https://api.github.com/users/TeslaDethray/gists{/gist_id}","starred_url":"https://api.github.com/users/TeslaDethray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeslaDethray/subscriptions","organizations_url":"https://api.github.com/users/TeslaDethray/orgs","repos_url":"https://api.github.com/users/TeslaDethray/repos","events_url":"https://api.github.com/users/TeslaDethray/events{/privacy}","received_events_url":"https://api.github.com/users/TeslaDethray/received_events","type":"User","site_admin":false},"body":"I'd be happy to make that change, but I'm afraid that it's out of the scope of this PR. ","created_at":"2016-02-22T23:34:31Z","updated_at":"2016-02-22T23:34:31Z","html_url":"https://github.com/pantheon-systems/terminus/pull/937#discussion_r53712884","pull_request_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937","_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/comments/53712884"},"html":{"href":"https://github.com/pantheon-systems/terminus/pull/937#discussion_r53712884"},"pull_request":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937"}}},"pull_request":{"url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937","id":59881817,"html_url":"https://github.com/pantheon-systems/terminus/pull/937","diff_url":"https://github.com/pantheon-systems/terminus/pull/937.diff","patch_url":"https://github.com/pantheon-systems/terminus/pull/937.patch","issue_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/937","number":937,"state":"open","locked":false,"title":"Added site set-php-version","user":{"login":"TeslaDethray","id":868204,"avatar_url":"https://avatars.githubusercontent.com/u/868204?v=3","gravatar_id":"","url":"https://api.github.com/users/TeslaDethray","html_url":"https://github.com/TeslaDethray","followers_url":"https://api.github.com/users/TeslaDethray/followers","following_url":"https://api.github.com/users/TeslaDethray/following{/other_user}","gists_url":"https://api.github.com/users/TeslaDethray/gists{/gist_id}","starred_url":"https://api.github.com/users/TeslaDethray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeslaDethray/subscriptions","organizations_url":"https://api.github.com/users/TeslaDethray/orgs","repos_url":"https://api.github.com/users/TeslaDethray/repos","events_url":"https://api.github.com/users/TeslaDethray/events{/privacy}","received_events_url":"https://api.github.com/users/TeslaDethray/received_events","type":"User","site_admin":false},"body":"Closes #656 \r\nToward https://github.com/pantheon-systems/alchemy/issues/3","created_at":"2016-02-18T23:34:42Z","updated_at":"2016-02-22T23:34:31Z","closed_at":null,"merged_at":null,"merge_commit_sha":"c6bcd6627b18bf76ebd11b1d5d028f1364310889","assignee":{"login":"TeslaDethray","id":868204,"avatar_url":"https://avatars.githubusercontent.com/u/868204?v=3","gravatar_id":"","url":"https://api.github.com/users/TeslaDethray","html_url":"https://github.com/TeslaDethray","followers_url":"https://api.github.com/users/TeslaDethray/followers","following_url":"https://api.github.com/users/TeslaDethray/following{/other_user}","gists_url":"https://api.github.com/users/TeslaDethray/gists{/gist_id}","starred_url":"https://api.github.com/users/TeslaDethray/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/TeslaDethray/subscriptions","organizations_url":"https://api.github.com/users/TeslaDethray/orgs","repos_url":"https://api.github.com/users/TeslaDethray/repos","events_url":"https://api.github.com/users/TeslaDethray/events{/privacy}","received_events_url":"https://api.github.com/users/TeslaDethray/received_events","type":"User","site_admin":false},"milestone":null,"commits_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937/commits","review_comments_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937/comments","review_comment_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls/comments{/number}","comments_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/937/comments","statuses_url":"https://api.github.com/repos/pantheon-systems/terminus/statuses/0bdb2016a35b1923808a35fe527918184ae4e607","head":{"label":"pantheon-systems:addition/site_set-php-version","ref":"addition/site_set-php-version","sha":"0bdb2016a35b1923808a35fe527918184ae4e607","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":17075662,"name":"terminus","full_name":"pantheon-systems/terminus","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/terminus","description":"The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform","fork":false,"url":"https://api.github.com/repos/pantheon-systems/terminus","forks_url":"https://api.github.com/repos/pantheon-systems/terminus/forks","keys_url":"https://api.github.com/repos/pantheon-systems/terminus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/terminus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/terminus/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/terminus/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/terminus/events","assignees_url":"https://api.github.com/repos/pantheon-systems/terminus/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/terminus/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/terminus/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/terminus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/terminus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/terminus/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/terminus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/terminus/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/terminus/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/terminus/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/terminus/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/terminus/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/terminus/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/terminus/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/terminus/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/terminus/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/terminus/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/terminus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/terminus/merges","archive_url":"https://api.github.com/repos/pantheon-systems/terminus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/terminus/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/terminus/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/terminus/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/terminus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/terminus/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/terminus/releases{/id}","deployments_url":"https://api.github.com/repos/pantheon-systems/terminus/deployments","created_at":"2014-02-22T01:37:07Z","updated_at":"2016-02-08T21:07:45Z","pushed_at":"2016-02-22T23:32:57Z","git_url":"git://github.com/pantheon-systems/terminus.git","ssh_url":"git@github.com:pantheon-systems/terminus.git","clone_url":"https://github.com/pantheon-systems/terminus.git","svn_url":"https://github.com/pantheon-systems/terminus","homepage":"https://pantheon.io","size":7696,"stargazers_count":123,"watchers_count":123,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":31,"forks":79,"open_issues":31,"watchers":123,"default_branch":"master"}},"base":{"label":"pantheon-systems:master","ref":"master","sha":"926e4e561efd192f88201f0221ad37f0e6a4ebe2","user":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"repo":{"id":17075662,"name":"terminus","full_name":"pantheon-systems/terminus","owner":{"login":"pantheon-systems","id":513357,"avatar_url":"https://avatars.githubusercontent.com/u/513357?v=3","gravatar_id":"","url":"https://api.github.com/users/pantheon-systems","html_url":"https://github.com/pantheon-systems","followers_url":"https://api.github.com/users/pantheon-systems/followers","following_url":"https://api.github.com/users/pantheon-systems/following{/other_user}","gists_url":"https://api.github.com/users/pantheon-systems/gists{/gist_id}","starred_url":"https://api.github.com/users/pantheon-systems/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pantheon-systems/subscriptions","organizations_url":"https://api.github.com/users/pantheon-systems/orgs","repos_url":"https://api.github.com/users/pantheon-systems/repos","events_url":"https://api.github.com/users/pantheon-systems/events{/privacy}","received_events_url":"https://api.github.com/users/pantheon-systems/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/pantheon-systems/terminus","description":"The Pantheon CLI — a standalone utility for performing operations on the Pantheon Platform","fork":false,"url":"https://api.github.com/repos/pantheon-systems/terminus","forks_url":"https://api.github.com/repos/pantheon-systems/terminus/forks","keys_url":"https://api.github.com/repos/pantheon-systems/terminus/keys{/key_id}","collaborators_url":"https://api.github.com/repos/pantheon-systems/terminus/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/pantheon-systems/terminus/teams","hooks_url":"https://api.github.com/repos/pantheon-systems/terminus/hooks","issue_events_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/events{/number}","events_url":"https://api.github.com/repos/pantheon-systems/terminus/events","assignees_url":"https://api.github.com/repos/pantheon-systems/terminus/assignees{/user}","branches_url":"https://api.github.com/repos/pantheon-systems/terminus/branches{/branch}","tags_url":"https://api.github.com/repos/pantheon-systems/terminus/tags","blobs_url":"https://api.github.com/repos/pantheon-systems/terminus/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/pantheon-systems/terminus/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/pantheon-systems/terminus/git/refs{/sha}","trees_url":"https://api.github.com/repos/pantheon-systems/terminus/git/trees{/sha}","statuses_url":"https://api.github.com/repos/pantheon-systems/terminus/statuses/{sha}","languages_url":"https://api.github.com/repos/pantheon-systems/terminus/languages","stargazers_url":"https://api.github.com/repos/pantheon-systems/terminus/stargazers","contributors_url":"https://api.github.com/repos/pantheon-systems/terminus/contributors","subscribers_url":"https://api.github.com/repos/pantheon-systems/terminus/subscribers","subscription_url":"https://api.github.com/repos/pantheon-systems/terminus/subscription","commits_url":"https://api.github.com/repos/pantheon-systems/terminus/commits{/sha}","git_commits_url":"https://api.github.com/repos/pantheon-systems/terminus/git/commits{/sha}","comments_url":"https://api.github.com/repos/pantheon-systems/terminus/comments{/number}","issue_comment_url":"https://api.github.com/repos/pantheon-systems/terminus/issues/comments{/number}","contents_url":"https://api.github.com/repos/pantheon-systems/terminus/contents/{+path}","compare_url":"https://api.github.com/repos/pantheon-systems/terminus/compare/{base}...{head}","merges_url":"https://api.github.com/repos/pantheon-systems/terminus/merges","archive_url":"https://api.github.com/repos/pantheon-systems/terminus/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/pantheon-systems/terminus/downloads","issues_url":"https://api.github.com/repos/pantheon-systems/terminus/issues{/number}","pulls_url":"https://api.github.com/repos/pantheon-systems/terminus/pulls{/number}","milestones_url":"https://api.github.com/repos/pantheon-systems/terminus/milestones{/number}","notifications_url":"https://api.github.com/repos/pantheon-systems/terminus/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/pantheon-systems/terminus/labels{/name}","releases_url":"https://api.github.com/repos/pantheon-systems/terminus/releases{/id}","deployments_url":"https://api.github.com/repos/pantheon-systems/terminus/deployments","created_at":"2014-02-22T01:37:07Z","updated_at":"2016-02-08T21:07:45Z","pushed_at":"2016-02-22T23:32:57Z","git_url":"git://github.com/pantheon-systems/terminus.git","ssh_url":"git@github.com:pantheon-systems/terminus.git","clone_url":"https://github.com/pantheon-systems/terminus.git","svn_url":"https://github.com/pantheon-systems/terminus","homepage":"https://pantheon.io","size":7696,"stargazers_count":123,"watchers_count":123,"language":"PHP","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":79,"mirror_url":null,"open_issues_count":31,"forks":79,"open_issues":31,"watchers":123,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937"},"html":{"href":"https://github.com/pantheon-systems/terminus/pull/937"},"issue":{"href":"https://api.github.com/repos/pantheon-systems/terminus/issues/937"},"comments":{"href":"https://api.github.com/repos/pantheon-systems/terminus/issues/937/comments"},"review_comments":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937/comments"},"review_comment":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/pantheon-systems/terminus/pulls/937/commits"},"statuses":{"href":"https://api.github.com/repos/pantheon-systems/terminus/statuses/0bdb2016a35b1923808a35fe527918184ae4e607"}}}}