Skip to content

Commit 1eec58b

Browse files
committed
Merge branch '2.3' into 2.4
* 2.3: Remove "Controllers extends ContainerAware" best practice Fixed bad indenting (the list was treated as a blockquote)
2 parents 7ea87e6 + 579a873 commit 1eec58b

File tree

2 files changed

+8
-25
lines changed

2 files changed

+8
-25
lines changed

cookbook/bundles/best_practices.rst

Lines changed: 0 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -194,23 +194,6 @@ Extensive documentation should also be provided in the
194194
the ``Resources/doc/`` directory; the ``Resources/doc/index.rst`` file is
195195
the only mandatory file and must be the entry point for the documentation.
196196

197-
Controllers
198-
-----------
199-
200-
As a best practice, controllers in a bundle that's meant to be distributed
201-
to others must not extend the
202-
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` base class.
203-
They can implement
204-
:class:`Symfony\\Component\\DependencyInjection\\ContainerAwareInterface` or
205-
extend :class:`Symfony\\Component\\DependencyInjection\\ContainerAware`
206-
instead.
207-
208-
.. note::
209-
210-
If you have a look at
211-
:class:`Symfony\\Bundle\\FrameworkBundle\\Controller\\Controller` methods,
212-
you will see that they are only nice shortcuts to ease the learning curve.
213-
214197
Routing
215198
-------
216199

cookbook/email/cloud.rst

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -101,17 +101,17 @@ And that's it, you're ready to start sending emails through the cloud!
101101

102102
If you intend to use Amazon SES, please note the following:
103103

104-
* You have to sign up to `Amazon Web Services (AWS)`_;
104+
* You have to sign up to `Amazon Web Services (AWS)`_;
105105

106-
* Every sender address used in the ``From`` or ``Return-Path`` (bounce
107-
address) header needs to be confirmed by the owner. You can also
108-
confirm an entire domain;
106+
* Every sender address used in the ``From`` or ``Return-Path`` (bounce
107+
address) header needs to be confirmed by the owner. You can also
108+
confirm an entire domain;
109109

110-
* Initially you are in a restricted sandbox mode. You need to request
111-
production access before being allowed to send to arbitrary
112-
recipients;
110+
* Initially you are in a restricted sandbox mode. You need to request
111+
production access before being allowed to send to arbitrary
112+
recipients;
113113

114-
* SES may be subject to a charge.
114+
* SES may be subject to a charge.
115115

116116
.. _`Amazon's Simple Email Service (SES)`: http://aws.amazon.com/ses
117117
.. _`SES console`: https://console.aws.amazon.com/ses

0 commit comments

Comments
 (0)