{"action":"closed","issue":{"url":"https://api.github.com/repos/cakephp/cakephp/issues/8965","repository_url":"https://api.github.com/repos/cakephp/cakephp","labels_url":"https://api.github.com/repos/cakephp/cakephp/issues/8965/labels{/name}","comments_url":"https://api.github.com/repos/cakephp/cakephp/issues/8965/comments","events_url":"https://api.github.com/repos/cakephp/cakephp/issues/8965/events","html_url":"https://github.com/cakephp/cakephp/issues/8965","id":159485698,"number":8965,"title":"Add global function collection() at the Collections documentation.","user":{"login":"alysson-azevedo","id":2701975,"avatar_url":"https://avatars.githubusercontent.com/u/2701975?v=3","gravatar_id":"","url":"https://api.github.com/users/alysson-azevedo","html_url":"https://github.com/alysson-azevedo","followers_url":"https://api.github.com/users/alysson-azevedo/followers","following_url":"https://api.github.com/users/alysson-azevedo/following{/other_user}","gists_url":"https://api.github.com/users/alysson-azevedo/gists{/gist_id}","starred_url":"https://api.github.com/users/alysson-azevedo/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/alysson-azevedo/subscriptions","organizations_url":"https://api.github.com/users/alysson-azevedo/orgs","repos_url":"https://api.github.com/users/alysson-azevedo/repos","events_url":"https://api.github.com/users/alysson-azevedo/events{/privacy}","received_events_url":"https://api.github.com/users/alysson-azevedo/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-09T19:13:05Z","updated_at":"2016-06-09T19:15:15Z","closed_at":"2016-06-09T19:15:15Z","body":"This is a (multiple allowed):\r\n* [x] enhancement\r\n\r\n* CakePHP Version: 3.x.\r\n\r\nThe method [`collection()`][1] is used sometimes on [Collections documentation][2] but it is not explained why the example uses `collection()` instead `new Collection()`.\r\n[1]:http://book.cakephp.org/3.0/en/core-libraries/global-constants-and-functions.html#global-functions\r\n[2]:http://book.cakephp.org/3.0/en/core-libraries/collections.html"}}
{"actor":{"display_login":"alysson-azevedo"}}