Fix another code block
This commit is contained in:
parent
76743431a4
commit
65fe9b86c5
@ -372,8 +372,8 @@ database.
|
|||||||
## PUT YOUR TEST CODE BELOW
|
## PUT YOUR TEST CODE BELOW
|
||||||
|
|
||||||
$q = $em->createQuery('select u from Entities\User u where u.name = ?1');
|
$q = $em->createQuery('select u from Entities\User u where u.name = ?1');
|
||||||
$q->setParameter(1, 'Garfield'); $garfield =
|
$q->setParameter(1, 'Garfield');
|
||||||
$q->getSingleResult();
|
$garfield = $q->getSingleResult();
|
||||||
|
|
||||||
echo "Hello " . $garfield->getName() . "!";
|
echo "Hello " . $garfield->getName() . "!";
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user