File tree 5 files changed +7
-7
lines changed
5 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -299,7 +299,7 @@ config.
299
299
*exactly * like an array, but has some added flexibility. Just imagine that
300
300
it is an ``array `` and you'll be in good shape.
301
301
302
- Your database is setup ! Now, run the migrations like normal:
302
+ Your database is set up ! Now, run the migrations like normal:
303
303
304
304
.. code-block :: terminal
305
305
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ Registering custom Mapping Types in the SchemaTool
120
120
121
121
The SchemaTool is used to inspect the database to compare the schema. To
122
122
achieve this task, it needs to know which mapping type needs to be used
123
- for each database types . Registering new ones can be done through the configuration.
123
+ for each database type . Registering new ones can be done through the configuration.
124
124
125
125
Now, map the ENUM type (not supported by DBAL by default) to the ``string ``
126
126
mapping type:
Original file line number Diff line number Diff line change @@ -14,7 +14,7 @@ form you must:
14
14
#. :doc: `Create a form </forms >` to ask for the registration information (you can
15
15
generate this with the ``make:registration-form `` command provided by the `MakerBundle `_);
16
16
#. Create :doc: `a controller </controller >` to :ref: `process the form <processing-forms >`;
17
- #. :ref: `Protect some parts of your application <security-authorization >` so
18
- only registered users can access to them.
17
+ #. :ref: `Protect some parts of your application <security-authorization >` so that
18
+ only registered users can access them.
19
19
20
20
.. _`MakerBundle` : https://symfony.com/doc/current/bundles/SymfonyMakerBundle/index.html
Original file line number Diff line number Diff line change 5
5
How to Define Relationships with Abstract Classes and Interfaces
6
6
================================================================
7
7
8
- One of the goals of bundles is to create discreet bundles of functionality
8
+ One of the goals of bundles is to create discrete bundles of functionality
9
9
that do not have many (if any) dependencies, allowing you to use that
10
10
functionality in other applications without including unnecessary items.
11
11
Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ How to Generate Entities from an Existing Database
5
5
==================================================
6
6
7
7
When starting work on a brand new project that uses a database, two different
8
- situations comes naturally . In most cases, the database model is designed
8
+ situations can occur . In most cases, the database model is designed
9
9
and built from scratch. Sometimes, however, you'll start with an existing and
10
10
probably unchangeable database model. Fortunately, Doctrine comes with a bunch
11
11
of tools to help generate model classes from your existing database.
@@ -47,7 +47,7 @@ to a post record thanks to a foreign key constraint.
47
47
) ENGINE=InnoDB AUTO_INCREMENT=1 DEFAULT CHARSET=utf8 COLLATE=utf8_unicode_ci;
48
48
49
49
Before diving into the recipe, be sure your database connection parameters are
50
- correctly setup in the ``.env `` file (or ``.env.local `` override file).
50
+ correctly set up in the ``.env `` file (or ``.env.local `` override file).
51
51
52
52
The first step towards building entity classes from an existing database
53
53
is to ask Doctrine to introspect the database and generate the corresponding
You can’t perform that action at this time.
0 commit comments