@@ -119,7 +119,7 @@ for you:
119119 ..sidebar ::Setting up the Database to be UTF8
120120
121121 One mistake even seasoned developers make when starting a Symfony project
122- is forgetting tosetup default charset and collation on their database,
122+ is forgetting toset up default charset and collation on their database,
123123 ending up with latin type collations, which are default for most databases.
124124 They might even remember to do it the very first time, but forget that
125125 it's all gone after running a relatively common command during development:
@@ -339,7 +339,7 @@ see the :ref:`book-doctrine-field-types` section.
339339
340340 You can also check out Doctrine's `Basic Mapping Documentation `_ for
341341 all details about mapping information. If you use annotations, you'll
342- need to prepend all annotations with ``ORM\ `` (e.g. ``ORM\Column(..) ``),
342+ need to prepend all annotations with ``ORM\ `` (e.g. ``ORM\Column(... ) ``),
343343 which is not shown in Doctrine's documentation. You'll also need to include
344344 the ``use Doctrine\ORM\Mapping as ORM; `` statement, which *imports * the
345345 ``ORM `` annotations prefix.
@@ -357,7 +357,7 @@ see the :ref:`book-doctrine-field-types` section.
357357
358358..note ::
359359
360- When using another library or program (ie . Doxygen) that uses annotations,
360+ When using another library or program (e.g . Doxygen) that uses annotations,
361361 you should place the ``@IgnoreAnnotation `` annotation on the class to
362362 indicate which annotations Symfony should ignore.
363363
@@ -385,7 +385,7 @@ a regular PHP class, you need to create getter and setter methods (e.g. ``getNam
385385
386386 $ php app/console doctrine:generate:entities AppBundle/Entity/Product
387387
388- This command makes sure that allof the getters and setters are generated
388+ This command makes sure that all the getters and setters are generated
389389for the ``Product `` class. This is a safe command - you can run it over and
390390over again: it only generates getters and setters that don't exist (i.e. it
391391doesn't replace your existing methods).
@@ -432,7 +432,7 @@ mapping information) of a bundle or an entire namespace:
432432 ..note ::
433433
434434 Doctrine doesn't care whether your properties are ``protected `` or ``private ``,
435- or whetheror not you have a getter or setter function for a property.
435+ or whether you have a getter or setter function for a property.
436436 The getters and setters are generated here only because you'll need them
437437 to interact with your PHP object.
438438
@@ -770,7 +770,7 @@ already did in the previous section).
770770
771771The DQL syntax is incredibly powerful, allowing you to easily join between
772772entities (the topic of:ref: `relations <book-doctrine-relations >` will be
773- covered later), group, etc. For more information, see the official Doctrine
773+ covered later), group, etc. For more information, see the official
774774`Doctrine Query Language `_ documentation.
775775
776776Custom Repository Classes
@@ -833,7 +833,7 @@ used earlier to generate the missing getter and setter methods:
833833 $ php app/console doctrine:generate:entities AppBundle
834834
835835 Next, add a new method - ``findAllOrderedByName() `` - to the newly generated
836- repository class. This method will query for allof the ``Product `` entities,
836+ repository class. This method will query for all the ``Product `` entities,
837837ordered alphabetically.
838838
839839..code-block ::php
@@ -1352,7 +1352,7 @@ Doctrine's `Lifecycle Events documentation`_.
13521352 transforming data in the entity (e.g. setting a created/updated field,
13531353 generating a slug value).
13541354
1355- If you need to do some heavier lifting - likeperform logging orsend
1355+ If you need to do some heavier lifting - likeperforming logging orsending
13561356 an email - you should register an external class as an event listener
13571357 or subscriber and give it access to whatever resources you need. For
13581358 more information, see:doc: `/cookbook/doctrine/event_listeners_subscribers `.
@@ -1362,7 +1362,7 @@ Doctrine's `Lifecycle Events documentation`_.
13621362Doctrine Field Types Reference
13631363------------------------------
13641364
1365- Doctrine comes witha large number of field types available. Each of these
1365+ Doctrine comes withnumerous field types available. Each of these
13661366maps a PHP data type to a specific column type in whatever database you're
13671367using. For each field type, the ``Column `` can be configured further, setting
13681368the ``length ``, ``nullable `` behavior, ``name `` and other options. To see a