php - Symfony bundles (vendor) entities - create schema, get repository problems -
we split our logic in project "bundles" , installing them using composer. problem db scheme creation, because doctrine not create scheme entities in vendor dir.
and have problem getting repository, because getrepository argument company\somemodulebundle\entity\comment fail message the class 'company\somemodulebundle\entity\comment' not found in chain configured namespaces (...)
how can achieve creating schemes our bundles (installed composer) , accessing them?
thank you!
i forgot add bundle appkernel, thats it.
thanks @cerad.
Comments
Post a Comment