Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e1a7107

Browse filesBrowse files
committed
Minor fixes
1 parent 4f13a9d commit e1a7107
Copy full SHA for e1a7107

File tree

Expand file treeCollapse file tree

5 files changed

+9
-8
lines changed
Filter options
Expand file treeCollapse file tree

5 files changed

+9
-8
lines changed

‎bundles/extension.rst

Copy file name to clipboardExpand all lines: bundles/extension.rst
+4-3Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@ following conventions:
2727
``AppExtension`` and the one for AcmeHelloBundle would be called
2828
``AcmeHelloExtension``).
2929

30-
The Extension class should implement the
30+
The Extension class must implement the
3131
:class:`Symfony\\Component\\DependencyInjection\\Extension\\ExtensionInterface`,
32-
but usually you would extend the
33-
:class:`Symfony\\Component\\DependencyInjection\\Extension\\Extension` class::
32+
but instead you should extend the
33+
:class:`Symfony\\Component\\DependencyInjection\\Extension\\Extension` class,
34+
which already implements the interface and provides some utilities::
3435

3536
// src/Acme/HelloBundle/DependencyInjection/AcmeHelloExtension.php
3637
namespace Acme\HelloBundle\DependencyInjection;

‎components/stopwatch.rst

Copy file name to clipboardExpand all lines: components/stopwatch.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Alternatively, you can clone the `<https://github.com/symfony/stopwatch>`_ repos
2121
Usage
2222
-----
2323

24-
The Stopwatch component provides an consistent way to measure execution
24+
The Stopwatch component provides a consistent way to measure execution
2525
time of certain parts of code so that you don't constantly have to parse
2626
microtime by yourself. Instead, use the simple
2727
:class:`Symfony\\Component\\Stopwatch\\Stopwatch` class::

‎create_framework/dependency_injection.rst

Copy file name to clipboardExpand all lines: create_framework/dependency_injection.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ framework more configurable, but at the same time, it introduces a lot of
6666
issues:
6767

6868
* We are not able to register custom listeners anymore as the dispatcher is
69-
not available outside the Framework class (an workaround could be the
69+
not available outside the Framework class (a workaround could be the
7070
adding of a ``Framework::getEventDispatcher()`` method);
7171

7272
* We have lost the flexibility we had before; you cannot change the

‎create_framework/http_kernel_httpkernelinterface.rst

Copy file name to clipboardExpand all lines: create_framework/http_kernel_httpkernelinterface.rst
+2-2Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -46,15 +46,15 @@ Update your framework so that it implements this interface::
4646
}
4747
}
4848

49-
Even if this change looks not to complex, it brings us a lot! Let's talk about one of
49+
Even if this change looks not too complex, it brings us a lot! Let's talk about one of
5050
the most impressive one: transparent :doc:`HTTP caching </http_cache>` support.
5151

5252
The ``HttpCache`` class implements a fully-featured reverse proxy, written in
5353
PHP; it implements ``HttpKernelInterface`` and wraps another
5454
``HttpKernelInterface`` instance::
5555

5656
// example.com/web/front.php
57-
57+
5858
// ..
5959

6060
$framework = new Simplex\Framework($dispatcher, $matcher, $controllerResolver, $argumentResolver);

‎http_cache.rst

Copy file name to clipboardExpand all lines: http_cache.rst
+1-1Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ but is a great way to start.
7777

7878
For details on setting up Varnish, see :doc:`/http_cache/varnish`.
7979

80-
Each application comes with a caching kernel (``AppCache``)that wraps the
80+
Each application comes with a caching kernel (``AppCache``) that wraps the
8181
default one (``AppKernel``). The caching Kernel *is* the reverse proxy.
8282

8383
To enable caching, modify the code of your front controller. You can also make these

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.