How can I gen model class form yaml in Doctrine 2
I was use Doctrine 1 generateModelsFromYaml
ex. Doctrine::generateModelsFromYaml开发者_开发技巧($schemasPath, $modelsPath);
but , when I use Doctrine 2
how can I generate model classes form yaml ?
thanks
The Doctrine 2 Console tool includes entity generation - outlined here: http://www.doctrine-project.org/docs/orm/2.0/en/reference/tools.html#entity-generation
精彩评论