{"action":"closed","issue":{"url":"https://api.github.com/repos/api-platform/api-platform/issues/19","labels_url":"https://api.github.com/repos/api-platform/api-platform/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/api-platform/api-platform/issues/19/comments","events_url":"https://api.github.com/repos/api-platform/api-platform/issues/19/events","html_url":"https://github.com/api-platform/api-platform/issues/19","id":110865776,"number":19,"title":"Use instruction missing on QualitativeValue's children","user":{"login":"Matthieu-Lescieux","id":5393070,"avatar_url":"https://avatars.githubusercontent.com/u/5393070?v=3","gravatar_id":"","url":"https://api.github.com/users/Matthieu-Lescieux","html_url":"https://github.com/Matthieu-Lescieux","followers_url":"https://api.github.com/users/Matthieu-Lescieux/followers","following_url":"https://api.github.com/users/Matthieu-Lescieux/following{/other_user}","gists_url":"https://api.github.com/users/Matthieu-Lescieux/gists{/gist_id}","starred_url":"https://api.github.com/users/Matthieu-Lescieux/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Matthieu-Lescieux/subscriptions","organizations_url":"https://api.github.com/users/Matthieu-Lescieux/orgs","repos_url":"https://api.github.com/users/Matthieu-Lescieux/repos","events_url":"https://api.github.com/users/Matthieu-Lescieux/events{/privacy}","received_events_url":"https://api.github.com/users/Matthieu-Lescieux/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/api-platform/api-platform/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/api-platform/api-platform/labels/easy%20pick","name":"easy pick","color":"5319e7"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-10-11T16:18:36Z","updated_at":"2015-10-12T19:57:34Z","closed_at":"2015-10-12T19:57:34Z","body":"The instruction\r\n>use SchemaOrg\\Enum\\QualitativeValue;\r\n\r\nis missing in the QualitativeValue's children.\r\n\r\nExample of generation with CarUsageType\r\n\r\n><?php\r\n>\r\n>namespace AppBundle\\Entity;\r\n>\r\n>use Doctrine\\ORM\\Mapping as ORM;\r\n>use Dunglas\\ApiBundle\\Annotation\\Iri;\r\n>\r\n>/* ... */\r\n>\r\n>class CarUsageType extends QualitativeValue\r\n>{\r\n>    ...\r\n>}\r\n\r\nThe command\r\n>username:~/path/to/project$ php app/console doctrine:schema:update\r\n\r\ncause this error\r\n>PHP Fatal error:  Class 'AppBundle\\Entity\\QualitativeValue' not found in /home/username/path/to/project/src/AppBundle/Entity/CarUsageType.php on line 17\r\n[2015-10-11 17:27:49] php.CRITICAL: Fatal Error: Class 'AppBundle\\Entity\\QualitativeValue' not found {\"type\":1,\"file\":\"/home/username/path/to/project/src/AppBundle/Entity/CarUsageType.php\",\"line\":17,\"level\":-1,\"stack\":[]}\r\n\r\nAdd\r\n>use SchemaOrg\\Enum\\QualitativeValue;\r\n\r\nfix the problem but you have to do it after each generation for each child."}}