{"action":"created","issue":{"url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/144","labels_url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/144/labels{/name}","comments_url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/144/comments","events_url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/144/events","html_url":"https://github.com/johmue/mysql-workbench-schema-exporter/issues/144","id":89499139,"number":144,"title":"Doctrine2 annotations - Typehints","user":{"login":"chapcz","id":3541306,"avatar_url":"https://avatars.githubusercontent.com/u/3541306?v=3","gravatar_id":"","url":"https://api.github.com/users/chapcz","html_url":"https://github.com/chapcz","followers_url":"https://api.github.com/users/chapcz/followers","following_url":"https://api.github.com/users/chapcz/following{/other_user}","gists_url":"https://api.github.com/users/chapcz/gists{/gist_id}","starred_url":"https://api.github.com/users/chapcz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/chapcz/subscriptions","organizations_url":"https://api.github.com/users/chapcz/orgs","repos_url":"https://api.github.com/users/chapcz/repos","events_url":"https://api.github.com/users/chapcz/events{/privacy}","received_events_url":"https://api.github.com/users/chapcz/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-06-19T08:02:21Z","updated_at":"2016-01-01T21:14:28Z","closed_at":null,"body":"Hi, I would like to ask about new feature Typehints. I really like to use this, but when I tried to export with Formatter::CFG_PROPERTY_TYPEHINT         => TRUE/FALSE .... I had same result. Can you help me please? I only changed Setup file in example folder. \r\nAnd my second question ... is there possible to generate from property named for example \r\ncolumn_name  => columnName ? \r\nThanks, Chap"},"comment":{"url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/comments/168337488","html_url":"https://github.com/johmue/mysql-workbench-schema-exporter/issues/144#issuecomment-168337488","issue_url":"https://api.github.com/repos/johmue/mysql-workbench-schema-exporter/issues/144","id":168337488,"user":{"login":"rvock","id":209159,"avatar_url":"https://avatars.githubusercontent.com/u/209159?v=3","gravatar_id":"","url":"https://api.github.com/users/rvock","html_url":"https://github.com/rvock","followers_url":"https://api.github.com/users/rvock/followers","following_url":"https://api.github.com/users/rvock/following{/other_user}","gists_url":"https://api.github.com/users/rvock/gists{/gist_id}","starred_url":"https://api.github.com/users/rvock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rvock/subscriptions","organizations_url":"https://api.github.com/users/rvock/orgs","repos_url":"https://api.github.com/users/rvock/repos","events_url":"https://api.github.com/users/rvock/events{/privacy}","received_events_url":"https://api.github.com/users/rvock/received_events","type":"User","site_admin":false},"created_at":"2016-01-01T21:14:28Z","updated_at":"2016-01-01T21:14:28Z","body":"Hello chapcz,\r\n\r\nthis config option only applies to values for normal fields and not for relations. This means, if you enable typehints, only \\DateTime will be added to date-fields. Disabling typehints will not disable the typehints for the relation getter and setter functions. I would vote to remove this option completely and always output typehints.\r\n\r\nCurrently there is no option to define the naming strategy for fields. So if you want columnName, you need to name the field columnName in MySQL-Workbench."}}