1
0
mirror of synced 2025-03-02 02:43:20 +03:00

Changed table name to be more appropriate.

This change assumes that the Article object references the articles tables, not the user table.
This commit is contained in:
Logan Bailey 2014-08-14 17:07:05 -07:00
parent 6ac19b04bf
commit 9b7318ab4c

@ -114,7 +114,7 @@ from newly opened EntityManager.
$article = $em->find('Article', 1); $article = $em->find('Article', 1);
This code only retrieves the ``Article`` 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 articles 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.