Corrected mismatch between example and comment entities.
This commit is contained in:
parent
754ebc052e
commit
c89290e507
@ -113,7 +113,7 @@ from newly opened EntityManager.
|
|||||||
|
|
||||||
$article = $em->find('Article', 1);
|
$article = $em->find('Article', 1);
|
||||||
|
|
||||||
This code only retrieves the ``User`` instance with id 1 executing
|
This code only retrieves the ``Article`` instance with id 1 executing
|
||||||
a single SELECT statement against the user table in the database.
|
a single SELECT statement against the user table in the database.
|
||||||
You can still access the associated properties author and comments
|
You can still access the associated properties author and comments
|
||||||
and the associated objects they contain.
|
and the associated objects they contain.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user