We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see ourdocumentation.
There was an error while loading.Please reload this page.
2 parentsf01c6c9 +78b9a86 commitddbbda2Copy full SHA for ddbbda2
best_practices.rst
@@ -10,7 +10,7 @@ You can even ignore them completely and continue using your own best practices
10
and methodologies. Symfony is flexible enough to adapt to your needs.
11
12
This article assumes that you already have experience developing Symfony
13
-applications. If you don't,readfirst the:doc:`Getting Started</setup>`
+applications. If you don't, first read the:doc:`Getting Started</setup>`
14
section of the documentation.
15
16
..tip::
@@ -118,7 +118,7 @@ Use Short and Prefixed Parameter Names
118
119
Consider using ``app.`` as the prefix of your:ref:`parameters<configuration-parameters>`
120
to avoid collisions with Symfony and third-party bundles/libraries parameters.
121
-Then, usejust one or two words to describe the purpose of the parameter:
+Then, useonly one or two words to describe the purpose of the parameter:
122
123
..code-block::yaml
124
bundles.rst
@@ -11,7 +11,7 @@ The Bundle System
A bundle is similar to a plugin in other software, but even better. The core
features of Symfony framework are implemented with bundles (FrameworkBundle,
-SecurityBundle, DebugBundle, etc.)They are also used to add new features in
+SecurityBundle, DebugBundle, etc.)Bundles are also used to add new features in
your application via `third-party bundles`_.
17
Bundles used in your applications must be enabled per
@@ -42,7 +42,7 @@ file::
42
Creating a Bundle
43
-----------------
44
45
-This section creates and enables a new bundle to showthere areonly a few steps required.
+This section creates and enables a new bundle to showthatonly a few steps are required.
46
The new bundle is called AcmeBlogBundle, where the ``Acme`` portion is an example
47
name that should be replaced by some "vendor" name that represents you or your
48
organization (e.g. AbcBlogBundle for some company named ``Abc``).
cache.rst
@@ -32,12 +32,11 @@ You can read more about these at the :doc:`component documentation </components/
32
Configuring Cache with FrameworkBundle
33
--------------------------------------
34
35
-When configuring the cache component there are a few concepts you should know
36
-of:
+When configuring the cache component there are a few concepts you should know:
37
38
**Pool**
39
This is a service that you will interact with. Each pool will always have
40
- its own namespace and cache items. Thereis nevera conflict between pools.
+ its own namespace and cache items. Thereare neverconflicts between pools.
41
**Adapter**
An adapter is a *template* that you use to create pools.
**Provider**
configuration.rst
@@ -37,7 +37,7 @@ example, this is the default file created by the "API Platform" bundle:
mapping:
paths:['%kernel.project_dir%/src/Entity']
-Splitting the configuration into lots of small files mightappear intimidatingfor some
+Splitting the configuration into lots of small files mightseem intimidatingto some
Symfony newcomers. However, you'll get used to them quickly and you rarely need
to change these files after package installation.
controller.rst
@@ -41,7 +41,7 @@ class::
The controller is the ``number()`` method, which lives inside the
controller class ``LuckyController``.
-This controller ispretty straightforward:
+This controller isquite simple:
* *line 2*: Symfony takes advantage of PHP's namespace functionality to
namespace the entire controller class.
deployment.rst
@@ -5,7 +5,7 @@ How to Deploy a Symfony Application
5
6
Deploying a Symfony application can be a complex and varied task depending on
7
the setup and the requirements of your application. This article is not a
8
-step-by-step guide, butis a general list of the most common requirements and
+step-by-step guide, butrather a general list of the most common requirements and
9
ideas for deployment.
.. _symfony2-deployment-basics:
event_dispatcher.rst
@@ -509,7 +509,7 @@ A ``kernel.controller`` (aka ``KernelEvents::CONTROLLER``) listener gets notifie
509
on *every* request, right before the controller is executed. So, first, you need
510
some way to identify if the controller that matches the request needs token validation.
511
512
-A clean andeasy way is to create an empty interface and make the controllers
+A clean andsimple way is to create an empty interface and make the controllers
513
implement it::
514
515
namespace App\Controller;
http_cache.rst
@@ -19,7 +19,7 @@ The Symfony cache system is different because it relies on the simplicity
19
and power of the HTTP cache as defined in `RFC 7234 - Caching`_. Instead of
20
reinventing a caching methodology, Symfony embraces the standard that defines
21
basic communication on the Web. Once you understand the fundamental HTTP
22
-validation and expiration caching models, you'll be ready tomaster the Symfony
+validation and expiration caching models, you'll be ready tounderstand the Symfony
23
cache system.
24
25
Since caching with HTTP isn't unique to Symfony, many articles already exist
lock.rst
@@ -1,7 +1,7 @@
1
Dealing with Concurrency with Locks
2
===================================
3
4
-When a program runs concurrently, somepart of codewhich modify shared
+When a program runs concurrently, someparts of codethat modify shared
resources should not be accessed by multiple processes at the same time.
Symfony's:doc:`Lock component</components/lock>` provides a locking mechanism to ensure
that only one process is running the critical section of code at any point of
mailer.rst
@@ -157,7 +157,7 @@ You'll now have a new line in your ``.env`` file that you can uncomment:
157
158
The ``MAILER_DSN`` isn't a *real* address: it's a convenient format that
159
offloads most of the configuration work to mailer. The ``sendgrid`` scheme
160
-activates the SendGrid provider that youjustinstalled, which knows all about
+activates the SendGrid provider that you installed, which knows all about
161
how to deliver messages via SendGrid. The *only* part you need to change is the
162
``KEY`` placeholder.
163