{"action":"created","issue":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/37","labels_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/37/labels{/name}","comments_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/37/comments","events_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/37/events","html_url":"https://github.com/chrisbjr/api-guard/issues/37","id":65421467,"number":37,"title":"Models namespace confusion","user":{"login":"gpolguere","id":279738,"avatar_url":"https://avatars.githubusercontent.com/u/279738?v=3","gravatar_id":"","url":"https://api.github.com/users/gpolguere","html_url":"https://github.com/gpolguere","followers_url":"https://api.github.com/users/gpolguere/followers","following_url":"https://api.github.com/users/gpolguere/following{/other_user}","gists_url":"https://api.github.com/users/gpolguere/gists{/gist_id}","starred_url":"https://api.github.com/users/gpolguere/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gpolguere/subscriptions","organizations_url":"https://api.github.com/users/gpolguere/orgs","repos_url":"https://api.github.com/users/gpolguere/repos","events_url":"https://api.github.com/users/gpolguere/events{/privacy}","received_events_url":"https://api.github.com/users/gpolguere/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-03-31T10:37:15Z","updated_at":"2015-04-07T09:16:56Z","closed_at":null,"body":"I've just discovered this package and I managed to get it working but I had an issue with Models.\r\nI don't know if I misconfigured anything but I had this exception raised (typo btw) :\r\n> You ApiKey model should be an instance of ApiKeyRepository.\r\n\r\nI've noticed you have 2 Models folder with same namespaces for both of the classes ApiKey and ApiLog :\r\n* src/Models\r\n* src/Chrisbjr/ApiGuard/Models\r\n\r\nIn the autoload_classmap.php that is generated, it takes the 2nd path instead of the 1st one.\r\nIs it normal ? Have I done anything wrong?\r\nThank you"},"comment":{"url":"https://api.github.com/repos/chrisbjr/api-guard/issues/comments/90477638","html_url":"https://github.com/chrisbjr/api-guard/issues/37#issuecomment-90477638","issue_url":"https://api.github.com/repos/chrisbjr/api-guard/issues/37","id":90477638,"user":{"login":"awkwardusername","id":2331465,"avatar_url":"https://avatars.githubusercontent.com/u/2331465?v=3","gravatar_id":"","url":"https://api.github.com/users/awkwardusername","html_url":"https://github.com/awkwardusername","followers_url":"https://api.github.com/users/awkwardusername/followers","following_url":"https://api.github.com/users/awkwardusername/following{/other_user}","gists_url":"https://api.github.com/users/awkwardusername/gists{/gist_id}","starred_url":"https://api.github.com/users/awkwardusername/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/awkwardusername/subscriptions","organizations_url":"https://api.github.com/users/awkwardusername/orgs","repos_url":"https://api.github.com/users/awkwardusername/repos","events_url":"https://api.github.com/users/awkwardusername/events{/privacy}","received_events_url":"https://api.github.com/users/awkwardusername/received_events","type":"User","site_admin":false},"created_at":"2015-04-07T09:16:56Z","updated_at":"2015-04-07T09:16:56Z","body":"@gpolguere make it a PR. "}}