petkopara / PetkoparaCrudGeneratorBundle

Symfony3 CRUD generator bundle with pagination, filter, bulk actions and Twitter bootstrap 3.3.6 features.
MIT License
70 stars 17 forks source link

Generate wrong code if entity has a extra namespace #54

Open TonyGao opened 6 years ago

TonyGao commented 6 years ago

Hi there, I'm trying this bundle, it's really fit for me, but I have a problem in a spesific situation. If my entity has a extra namespace, it will generate wrong code in controller, code like below

The Entity shortcut name: AppBundle:Tender/Tender

list($tender\Tenders, $pagerHtml) = $this->paginator($queryBuilder, $request);

Can you fix it? Or is it only suitable for flat entity structure?