1
0
mirror of synced 2024-12-14 07:06:04 +03:00

Fix wrong code in Mini tutorial

This commit is contained in:
Benjamin Eberlei 2010-12-14 23:34:41 +01:00
parent 2e00e9d715
commit 76743431a4

View File

@ -371,7 +371,7 @@ database.
## PUT YOUR TEST CODE BELOW
$q = $em->createQuery('select u from Entities u where u.name = ?1');
$q = $em->createQuery('select u from Entities\User u where u.name = ?1');
$q->setParameter(1, 'Garfield'); $garfield =
$q->getSingleResult();