mirror of
https://github.com/maximebf/php-debugbar.git
synced 2025-05-04 13:57:55 +02:00
Demo namespace for Product class in doctrine demo (fixed #138)
This commit is contained in:
parent
b32fd42afd
commit
392b52bf5f
@ -9,7 +9,7 @@ $debugStack = new Doctrine\DBAL\Logging\DebugStack();
|
||||
$entityManager->getConnection()->getConfiguration()->setSQLLogger($debugStack);
|
||||
$debugbar->addCollector(new DebugBar\Bridge\DoctrineCollector($debugStack));
|
||||
|
||||
$product = new Product();
|
||||
$product = new Demo\Product();
|
||||
$product->setName("foobar");
|
||||
|
||||
$entityManager->persist($product);
|
||||
|
@ -1,5 +1,7 @@
|
||||
<?php
|
||||
|
||||
namespace Demo;
|
||||
|
||||
/**
|
||||
* @Entity @Table(name="products")
|
||||
**/
|
Loading…
x
Reference in New Issue
Block a user