Skip to content

Commit

Permalink
Merge branch '2.7' into 2.8
Browse files Browse the repository at this point in the history
Conflicts:
	form/create_custom_field_type.rst
  • Loading branch information
wouterj committed Aug 28, 2016
2 parents 0fffa1c + c72dde0 commit f7ba37a
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 7 deletions.
2 changes: 0 additions & 2 deletions components/filesystem.rst
Original file line number Diff line number Diff line change
Expand Up @@ -252,8 +252,6 @@ complete new file (but never a partially-written file)::

The ``file.txt`` file contains ``Hello World`` now.

A desired file mode can be passed as the third argument.

Error Handling
--------------

Expand Down
2 changes: 1 addition & 1 deletion components/options_resolver.rst
Original file line number Diff line number Diff line change
Expand Up @@ -505,7 +505,7 @@ the closure::
{
parent::configureOptions($resolver);

$options->setDefault('host', function (Options $options, $previousValue) {
$resolver->setDefault('host', function (Options $options, $previousValue) {
if ('ssl' === $options['encryption']) {
return 'secure.example.org'
}
Expand Down
2 changes: 1 addition & 1 deletion components/var_dumper.rst
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ current PHP SAPI:
.. note::

If you want to catch the dump output as a string, please read the
`advanced documentation <advanced>`_ which contains examples of it.
:doc:`advanced documentation </components/var_dumper/advanced>` which contains examples of it.
You'll also learn how to change the format or redirect the output to
wherever you want.

Expand Down
2 changes: 1 addition & 1 deletion configuration.rst
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ key:
$container->setParameter('locale', 'en');
$container->loadFromExtension('framework', array(
'default_locale' => '%en%',
'default_locale' => '%locale%',
// ...
));
Expand Down
4 changes: 2 additions & 2 deletions controller.rst
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ This controller is pretty straightforward:

* *line 12*: Each action method in a controller class is suffixed with ``Action``
(again, this isn't *required*, but some shortcuts rely on this). This method
is allowed to have a ``$name`` argument thanks to the ``{name}``
is allowed to have a ``$max`` argument thanks to the ``{max}``
:doc:`wildcard in the route </routing>`.

* *line 16*: The controller creates and returns a ``Response`` object.
Expand Down Expand Up @@ -324,7 +324,7 @@ The Request object as a Controller Argument
What if you need to read query parameters, grab a request header or get access
to an uploaded file? All of that information is stored in Symfony's ``Request``
object. To get it in your controller, just add it as an argument and
**type-hint it with the ``Request`` class**::
**type-hint it with the Request class**::

use Symfony\Component\HttpFoundation\Request;

Expand Down

0 comments on commit f7ba37a

Please sign in to comment.