{"action":"created","issue":{"url":"https://api.github.com/repos/fvaldes33/plus/issues/2","repository_url":"https://api.github.com/repos/fvaldes33/plus","labels_url":"https://api.github.com/repos/fvaldes33/plus/issues/2/labels{/name}","comments_url":"https://api.github.com/repos/fvaldes33/plus/issues/2/comments","events_url":"https://api.github.com/repos/fvaldes33/plus/issues/2/events","html_url":"https://github.com/fvaldes33/plus/issues/2","id":185375680,"number":2,"title":"Flesh out Homepage example","user":{"login":"sjelfull","id":10508,"avatar_url":"https://avatars.githubusercontent.com/u/10508?v=3","gravatar_id":"","url":"https://api.github.com/users/sjelfull","html_url":"https://github.com/sjelfull","followers_url":"https://api.github.com/users/sjelfull/followers","following_url":"https://api.github.com/users/sjelfull/following{/other_user}","gists_url":"https://api.github.com/users/sjelfull/gists{/gist_id}","starred_url":"https://api.github.com/users/sjelfull/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sjelfull/subscriptions","organizations_url":"https://api.github.com/users/sjelfull/orgs","repos_url":"https://api.github.com/users/sjelfull/repos","events_url":"https://api.github.com/users/sjelfull/events{/privacy}","received_events_url":"https://api.github.com/users/sjelfull/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":2,"created_at":"2016-10-26T12:11:14Z","updated_at":"2016-10-26T14:27:06Z","closed_at":"2016-10-26T14:27:06Z","body":"For someone that doesn't know how Behaviors work, it's unclear how to use this, and exactly what it does.\r\n\r\nRemoving eager-loading from templates and putting it in a Behavior sounds like a great use-case.\r\n\r\nWould you mind fleshing out the Homepage example, and perhaps add a paragraph on what a Behavior does? Maybe you could also add comments to the examples?\r\n\r\n```php\r\n<?php\r\npublic function example()\r\n{\r\n    $model = clone($this->getOwner());\r\n    \r\n    $criteria = $model->body;\r\n    return $model->body;\r\n}\r\n```\r\n\r\nDoes this get a field called `body` from the owner (?) of the Homepage single?"},"comment":{"url":"https://api.github.com/repos/fvaldes33/plus/issues/comments/256364112","html_url":"https://github.com/fvaldes33/plus/issues/2#issuecomment-256364112","issue_url":"https://api.github.com/repos/fvaldes33/plus/issues/2","id":256364112,"user":{"login":"fvaldes33","id":8552528,"avatar_url":"https://avatars.githubusercontent.com/u/8552528?v=3","gravatar_id":"","url":"https://api.github.com/users/fvaldes33","html_url":"https://github.com/fvaldes33","followers_url":"https://api.github.com/users/fvaldes33/followers","following_url":"https://api.github.com/users/fvaldes33/following{/other_user}","gists_url":"https://api.github.com/users/fvaldes33/gists{/gist_id}","starred_url":"https://api.github.com/users/fvaldes33/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fvaldes33/subscriptions","organizations_url":"https://api.github.com/users/fvaldes33/orgs","repos_url":"https://api.github.com/users/fvaldes33/repos","events_url":"https://api.github.com/users/fvaldes33/events{/privacy}","received_events_url":"https://api.github.com/users/fvaldes33/received_events","type":"User","site_admin":false},"created_at":"2016-10-26T14:27:06Z","updated_at":"2016-10-26T14:27:06Z","body":"@sjelfull - Pushed new readme + comments on homepagebehavior.php example.\r\n\r\nAgain, thanks for your feedback."}}
{"actor":{"display_login":"fvaldes33"}}