{"action":"created","issue":{"url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/23","labels_url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/23/labels{/name}","comments_url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/23/comments","events_url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/23/events","html_url":"https://github.com/ZFrapid/zf2rapid/issues/23","id":128095752,"number":23,"title":"Not consistent when table-names contain _ (underscore)","user":{"login":"gartner","id":195601,"avatar_url":"https://avatars.githubusercontent.com/u/195601?v=3","gravatar_id":"","url":"https://api.github.com/users/gartner","html_url":"https://github.com/gartner","followers_url":"https://api.github.com/users/gartner/followers","following_url":"https://api.github.com/users/gartner/following{/other_user}","gists_url":"https://api.github.com/users/gartner/gists{/gist_id}","starred_url":"https://api.github.com/users/gartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartner/subscriptions","organizations_url":"https://api.github.com/users/gartner/orgs","repos_url":"https://api.github.com/users/gartner/repos","events_url":"https://api.github.com/users/gartner/events{/privacy}","received_events_url":"https://api.github.com/users/gartner/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-01-22T06:46:29Z","updated_at":"2016-01-24T06:24:30Z","closed_at":null,"body":"When running\r\n\r\n`zf2rapid crud-create-model Test tbl_pages,tbl_menu,tbl_menu_types`\r\n\r\nthen all files is created as expected, being camelcased instead of underscored:\r\nExcept Strategy - there, the files are named \r\n```\r\nTbl_menu_typesStrategy.php\r\nTbl_menuStrategy.php\r\n```\r\nwith the classnames being also with underscores.\r\n\r\nBut the module (also created by zf2rapid) is using Zend\\Loader\\StandardAutoloader will replace these underscores when tryind to load the files, making the module fail.\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/comments/174260680","html_url":"https://github.com/ZFrapid/zf2rapid/issues/23#issuecomment-174260680","issue_url":"https://api.github.com/repos/ZFrapid/zf2rapid/issues/23","id":174260680,"user":{"login":"gartner","id":195601,"avatar_url":"https://avatars.githubusercontent.com/u/195601?v=3","gravatar_id":"","url":"https://api.github.com/users/gartner","html_url":"https://github.com/gartner","followers_url":"https://api.github.com/users/gartner/followers","following_url":"https://api.github.com/users/gartner/following{/other_user}","gists_url":"https://api.github.com/users/gartner/gists{/gist_id}","starred_url":"https://api.github.com/users/gartner/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gartner/subscriptions","organizations_url":"https://api.github.com/users/gartner/orgs","repos_url":"https://api.github.com/users/gartner/repos","events_url":"https://api.github.com/users/gartner/events{/privacy}","received_events_url":"https://api.github.com/users/gartner/received_events","type":"User","site_admin":false},"created_at":"2016-01-24T06:24:30Z","updated_at":"2016-01-24T06:24:30Z","body":"And this error goes further - TableGatewayfactories created by crud-create-move also does only uppercase the tablename, which preserves underscores, which again will make the class try to use invalid class-names in use-statements and when trying to create entities and getting hydrators from the servicemanager."}}