1
0
mirror of synced 2024-12-14 15:16:04 +03:00

fixed minor errors

This commit is contained in:
Erik Dubbelboer 2012-06-07 13:53:58 +02:00
parent 672b39fb84
commit 24d488b5f1

View File

@ -136,6 +136,7 @@ following set of classes. Put them into `entities/Bug.php`,
.. code-block:: php
<?php
// User.php
class User
{
@ -160,7 +161,7 @@ following set of classes. Put them into `entities/Bug.php`,
.. warning::
Properties should never be public when working when using Doctrine.
Properties should never be public when using Doctrine.
This will lead to bugs with the way lazy loading works in Doctrine.
You see that all properties have getters and setters except `$id`.