File tree Expand file tree Collapse file tree
DependencyInjection/Compiler
Resources/config/doctrine/model Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -20,16 +20,10 @@ public function process(ContainerBuilder $container)
2020
2121 if (
2222 $ container ->getParameter ('hackzilla_ticket.model.ticket.class ' ) === 'Hackzilla\Bundle\TicketBundle\Entity\Ticket '
23- ) {
24- $ path = realpath (__DIR__ .'/../../Resources/config/doctrine/model/Ticket ' );
25- $ namespaces [$ path ] = 'Hackzilla\Bundle\TicketBundle\Entity ' ;
26- }
27-
28- if (
23+ ||
2924 $ container ->getParameter ('hackzilla_ticket.model.message.class ' ) === 'Hackzilla\Bundle\TicketBundle\Entity\TicketMessage '
3025 ) {
31- $ path = realpath (__DIR__ .'/../../Resources/config/doctrine/model/TicketMessage ' );
32- $ namespaces [$ path ] = 'Hackzilla\Bundle\TicketBundle\Entity ' ;
26+ $ namespaces [realpath ($ bundleDirectory .'/Resources/config/doctrine/model ' )] = 'Hackzilla\Bundle\TicketBundle\Entity ' ;
3327 }
3428
3529 $ arguments = array ($ namespaces , '.orm.xml ' );
File renamed without changes.
File renamed without changes.
You can’t perform that action at this time.
0 commit comments