{"action":"created","issue":{"url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/3","repository_url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload","labels_url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/3/comments","events_url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/3/events","html_url":"https://github.com/indigophp/doctrine-annotation-autoload/issues/3","id":187022111,"number":3,"title":"Not working from console","user":{"login":"Chrisissorry","id":1019823,"avatar_url":"https://avatars.githubusercontent.com/u/1019823?v=3","gravatar_id":"","url":"https://api.github.com/users/Chrisissorry","html_url":"https://github.com/Chrisissorry","followers_url":"https://api.github.com/users/Chrisissorry/followers","following_url":"https://api.github.com/users/Chrisissorry/following{/other_user}","gists_url":"https://api.github.com/users/Chrisissorry/gists{/gist_id}","starred_url":"https://api.github.com/users/Chrisissorry/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Chrisissorry/subscriptions","organizations_url":"https://api.github.com/users/Chrisissorry/orgs","repos_url":"https://api.github.com/users/Chrisissorry/repos","events_url":"https://api.github.com/users/Chrisissorry/events{/privacy}","received_events_url":"https://api.github.com/users/Chrisissorry/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":3,"created_at":"2016-11-03T10:26:44Z","updated_at":"2016-11-04T08:09:52Z","closed_at":null,"body":"I have a simple entity:\r\n\r\n```\r\nnamespace AppBundle\\Entity;\r\n\r\nuse Doctrine\\ORM\\Mapping as ORM;\r\n\r\n/**\r\n * Class Event\r\n * @package AppBundle\\Entity\r\n * @ORM|Entity\r\n * @ORM|Table(name=\"event\")\r\n */\r\nclass Event\r\n{\r\n    /**\r\n     * @ORM|Column(type=\"integer\")\r\n     * @ORM|Id\r\n     * @ORM|GeneratedValue(strategy=\"AUTO\")\r\n     */\r\n    private $id;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"guid\")\r\n     */\r\n    private $uuid;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"string\", length=100)\r\n     */\r\n    private $name;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"text\")\r\n     */\r\n    private $description;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"datetimetz\")\r\n     */\r\n    private $startDate;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"datetimetz\")\r\n     */\r\n    private $endDate;\r\n\r\n    /**\r\n     * @ORM|Column(type=\"text\")\r\n     */\r\n    private $location;\r\n}\r\n```\r\n\r\nI want to generate getters and setters using:\r\n\r\n`php bin/console doctrine:generate:entities AppBundle:Event`\r\n\r\nI get this error message:\r\n\r\n```\r\n  [Doctrine\\Common\\Annotations\\AnnotationException]\r\n  [Semantical Error] The annotation \"@Doctrine\\ORM\\Mapping\" in class AppBundle\\Entit\r\n  y\\Event does not exist, or could not be auto-loaded.\r\n```\r\n\r\nSo I tried your plugin, but it does not fix the problem. Is it supposed to?\r\n\r\nI am using symfony 3.1.5, composer 1.2.1 and PHP 7.0.12."},"comment":{"url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/comments/258367293","html_url":"https://github.com/indigophp/doctrine-annotation-autoload/issues/3#issuecomment-258367293","issue_url":"https://api.github.com/repos/indigophp/doctrine-annotation-autoload/issues/3","id":258367293,"user":{"login":"sagikazarmark","id":1226384,"avatar_url":"https://avatars.githubusercontent.com/u/1226384?v=3","gravatar_id":"","url":"https://api.github.com/users/sagikazarmark","html_url":"https://github.com/sagikazarmark","followers_url":"https://api.github.com/users/sagikazarmark/followers","following_url":"https://api.github.com/users/sagikazarmark/following{/other_user}","gists_url":"https://api.github.com/users/sagikazarmark/gists{/gist_id}","starred_url":"https://api.github.com/users/sagikazarmark/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sagikazarmark/subscriptions","organizations_url":"https://api.github.com/users/sagikazarmark/orgs","repos_url":"https://api.github.com/users/sagikazarmark/repos","events_url":"https://api.github.com/users/sagikazarmark/events{/privacy}","received_events_url":"https://api.github.com/users/sagikazarmark/received_events","type":"User","site_admin":false},"created_at":"2016-11-04T08:09:52Z","updated_at":"2016-11-04T08:09:52Z","body":"No need to apologize, I am glad you could solve it."}}
{"actor":{"display_login":"sagikazarmark"}}