1
0
mirror of synced 2025-03-23 16:33:54 +03:00

Corrected mismatch between example and comment entities.

This commit is contained in:
Ray Rehbein 2010-12-16 06:12:58 +08:00 committed by Benjamin Eberlei
parent 754ebc052e
commit c89290e507

View File

@ -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.