{"action":"created","issue":{"url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/406","labels_url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/406/labels{/name}","comments_url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/406/comments","events_url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/406/events","html_url":"https://github.com/thephpleague/factory-muffin/pull/406","id":124266467,"number":406,"title":"Adds support for setting model attributes through setters","user":{"login":"noobiwan","id":704231,"avatar_url":"https://avatars.githubusercontent.com/u/704231?v=3","gravatar_id":"","url":"https://api.github.com/users/noobiwan","html_url":"https://github.com/noobiwan","followers_url":"https://api.github.com/users/noobiwan/followers","following_url":"https://api.github.com/users/noobiwan/following{/other_user}","gists_url":"https://api.github.com/users/noobiwan/gists{/gist_id}","starred_url":"https://api.github.com/users/noobiwan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/noobiwan/subscriptions","organizations_url":"https://api.github.com/users/noobiwan/orgs","repos_url":"https://api.github.com/users/noobiwan/repos","events_url":"https://api.github.com/users/noobiwan/events{/privacy}","received_events_url":"https://api.github.com/users/noobiwan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2015-12-29T20:49:58Z","updated_at":"2015-12-29T21:17:14Z","closed_at":"2015-12-29T21:16:58Z","pull_request":{"url":"https://api.github.com/repos/thephpleague/factory-muffin/pulls/406","html_url":"https://github.com/thephpleague/factory-muffin/pull/406","diff_url":"https://github.com/thephpleague/factory-muffin/pull/406.diff","patch_url":"https://github.com/thephpleague/factory-muffin/pull/406.patch"},"body":"Some model attributes needs to be set through setter methods, but\r\nFactoryMuffin only sets the attributes directly. This fix checks for the\r\npresence of a setter method on the model and calls it instead. I also\r\nincludes a camelize function."},"comment":{"url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/comments/167878869","html_url":"https://github.com/thephpleague/factory-muffin/pull/406#issuecomment-167878869","issue_url":"https://api.github.com/repos/thephpleague/factory-muffin/issues/406","id":167878869,"user":{"login":"GrahamCampbell","id":2829600,"avatar_url":"https://avatars.githubusercontent.com/u/2829600?v=3","gravatar_id":"","url":"https://api.github.com/users/GrahamCampbell","html_url":"https://github.com/GrahamCampbell","followers_url":"https://api.github.com/users/GrahamCampbell/followers","following_url":"https://api.github.com/users/GrahamCampbell/following{/other_user}","gists_url":"https://api.github.com/users/GrahamCampbell/gists{/gist_id}","starred_url":"https://api.github.com/users/GrahamCampbell/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GrahamCampbell/subscriptions","organizations_url":"https://api.github.com/users/GrahamCampbell/orgs","repos_url":"https://api.github.com/users/GrahamCampbell/repos","events_url":"https://api.github.com/users/GrahamCampbell/events{/privacy}","received_events_url":"https://api.github.com/users/GrahamCampbell/received_events","type":"User","site_admin":false},"created_at":"2015-12-29T21:17:14Z","updated_at":"2015-12-29T21:17:14Z","body":"Thanks. I'll make the remaining small change. ;)"}}