{"action":"created","issue":{"url":"https://api.github.com/repos/c9s/LazyRecord/issues/115","labels_url":"https://api.github.com/repos/c9s/LazyRecord/issues/115/labels{/name}","comments_url":"https://api.github.com/repos/c9s/LazyRecord/issues/115/comments","events_url":"https://api.github.com/repos/c9s/LazyRecord/issues/115/events","html_url":"https://github.com/c9s/LazyRecord/issues/115","id":98796256,"number":115,"title":"Generic methods not used property access","user":{"login":"dmachehin","id":5855746,"avatar_url":"https://avatars.githubusercontent.com/u/5855746?v=3","gravatar_id":"","url":"https://api.github.com/users/dmachehin","html_url":"https://github.com/dmachehin","followers_url":"https://api.github.com/users/dmachehin/followers","following_url":"https://api.github.com/users/dmachehin/following{/other_user}","gists_url":"https://api.github.com/users/dmachehin/gists{/gist_id}","starred_url":"https://api.github.com/users/dmachehin/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dmachehin/subscriptions","organizations_url":"https://api.github.com/users/dmachehin/orgs","repos_url":"https://api.github.com/users/dmachehin/repos","events_url":"https://api.github.com/users/dmachehin/events{/privacy}","received_events_url":"https://api.github.com/users/dmachehin/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-03T17:12:59Z","updated_at":"2015-08-06T03:58:27Z","closed_at":null,"body":"Column schema strict var type (instead string), inflator work only if access to property.\r\nGeneric methods getId(), getName(),... not used access to property, it get data from source $this->_data...\r\n\r\nExample:\r\nIn Schema column i'm write ```$this->column('geo')->text()\r\n        ->inflator(function($value) {\r\n        \treturn array_map('intval', explode(',', $value));\r\n        })\r\n        ->deflator(function($value) {\r\n        \treturn join(',', $value);\r\n        });```\r\nThen output results\r\n```$project->geo``` return ```array(123,456,678)```\r\n```$project->getGeo()``` return ```123,456,678```"},"comment":{"url":"https://api.github.com/repos/c9s/LazyRecord/issues/comments/128228328","html_url":"https://github.com/c9s/LazyRecord/issues/115#issuecomment-128228328","issue_url":"https://api.github.com/repos/c9s/LazyRecord/issues/115","id":128228328,"user":{"login":"c9s","id":50894,"avatar_url":"https://avatars.githubusercontent.com/u/50894?v=3","gravatar_id":"","url":"https://api.github.com/users/c9s","html_url":"https://github.com/c9s","followers_url":"https://api.github.com/users/c9s/followers","following_url":"https://api.github.com/users/c9s/following{/other_user}","gists_url":"https://api.github.com/users/c9s/gists{/gist_id}","starred_url":"https://api.github.com/users/c9s/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/c9s/subscriptions","organizations_url":"https://api.github.com/users/c9s/orgs","repos_url":"https://api.github.com/users/c9s/repos","events_url":"https://api.github.com/users/c9s/events{/privacy}","received_events_url":"https://api.github.com/users/c9s/received_events","type":"User","site_admin":false},"created_at":"2015-08-06T03:58:27Z","updated_at":"2015-08-06T03:58:27Z","body":"Shall be fixed in e270250f43ead695e8789ec6437c4cca544ec9dd , can you give it a try?"}}