{"action":"created","issue":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2759","repository_url":"https://api.github.com/repos/swagger-api/swagger-codegen","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2759/labels{/name}","comments_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2759/comments","events_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2759/events","html_url":"https://github.com/swagger-api/swagger-codegen/issues/2759","id":152730533,"number":2759,"title":"explicit setting of Api and model package names not working in php -issue with method toPackagePath(String packageName, String basePath)","user":{"login":"sbelan","id":17060114,"avatar_url":"https://avatars.githubusercontent.com/u/17060114?v=3","gravatar_id":"","url":"https://api.github.com/users/sbelan","html_url":"https://github.com/sbelan","followers_url":"https://api.github.com/users/sbelan/followers","following_url":"https://api.github.com/users/sbelan/following{/other_user}","gists_url":"https://api.github.com/users/sbelan/gists{/gist_id}","starred_url":"https://api.github.com/users/sbelan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbelan/subscriptions","organizations_url":"https://api.github.com/users/sbelan/orgs","repos_url":"https://api.github.com/users/sbelan/repos","events_url":"https://api.github.com/users/sbelan/events{/privacy}","received_events_url":"https://api.github.com/users/sbelan/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/labels/Client:%20PHP","name":"Client: PHP","color":"fad8c7"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9","html_url":"https://github.com/swagger-api/swagger-codegen/milestones/v2.2.0","labels_url":"https://api.github.com/repos/swagger-api/swagger-codegen/milestones/9/labels","id":1375944,"number":9,"title":"v2.2.0","description":"","creator":{"login":"fehguy","id":249413,"avatar_url":"https://avatars.githubusercontent.com/u/249413?v=3","gravatar_id":"","url":"https://api.github.com/users/fehguy","html_url":"https://github.com/fehguy","followers_url":"https://api.github.com/users/fehguy/followers","following_url":"https://api.github.com/users/fehguy/following{/other_user}","gists_url":"https://api.github.com/users/fehguy/gists{/gist_id}","starred_url":"https://api.github.com/users/fehguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fehguy/subscriptions","organizations_url":"https://api.github.com/users/fehguy/orgs","repos_url":"https://api.github.com/users/fehguy/repos","events_url":"https://api.github.com/users/fehguy/events{/privacy}","received_events_url":"https://api.github.com/users/fehguy/received_events","type":"User","site_admin":false},"open_issues":220,"closed_issues":555,"state":"open","created_at":"2015-10-25T23:43:33Z","updated_at":"2016-06-27T05:54:06Z","due_on":null,"closed_at":null},"comments":3,"created_at":"2016-05-03T09:12:58Z","updated_at":"2016-06-27T06:25:12Z","closed_at":null,"body":"Hi,\r\nI am setting package and model name from my code as below.\r\n```\r\nsetModelPackage(\"myApi\"+File.separator+\"model\");\r\nsetApiPackage(\"myApi\"+File.separator+\"model\");\r\n\r\n```\r\nBut swagger is not creating code as per the mentioned packages. Please let me know, significance of method toPackagePath(String packageName, String basePath) from PhpClientCodegen. As per the observation this method is creating the issue.\r\n`packageName = packageName.replace(invokerPackage, \" \");`\r\n"},"comment":{"url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/comments/228663360","html_url":"https://github.com/swagger-api/swagger-codegen/issues/2759#issuecomment-228663360","issue_url":"https://api.github.com/repos/swagger-api/swagger-codegen/issues/2759","id":228663360,"user":{"login":"sbelan","id":17060114,"avatar_url":"https://avatars.githubusercontent.com/u/17060114?v=3","gravatar_id":"","url":"https://api.github.com/users/sbelan","html_url":"https://github.com/sbelan","followers_url":"https://api.github.com/users/sbelan/followers","following_url":"https://api.github.com/users/sbelan/following{/other_user}","gists_url":"https://api.github.com/users/sbelan/gists{/gist_id}","starred_url":"https://api.github.com/users/sbelan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sbelan/subscriptions","organizations_url":"https://api.github.com/users/sbelan/orgs","repos_url":"https://api.github.com/users/sbelan/repos","events_url":"https://api.github.com/users/sbelan/events{/privacy}","received_events_url":"https://api.github.com/users/sbelan/received_events","type":"User","site_admin":false},"created_at":"2016-06-27T06:25:12Z","updated_at":"2016-06-27T06:25:12Z","body":"ok.. will check and let you know."}}
{"actor":{"display_login":"sbelan"}}