Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 76a0014

Browse files
committed
Reverting so that this can be re-done as a PR
This reverts commit 20b272d.
1 parent 20b272d commit 76a0014

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

reference/configuration/kernel.rst

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -11,36 +11,11 @@ the parent :class:`Symfony\\Component\\HttpKernel\\Kernel` class.
1111
Configuration
1212
-------------
1313

14-
* `Charset`_
1514
* `Kernel Name`_
1615
* `Root Directory`_
1716
* `Cache Directory`_
1817
* `Log Directory`_
1918

20-
.. versionadded:: 2.1
21-
The :method:`Symfony\\Component\\HttpKernel\\Kernel::getCharset` method is new
22-
in Symfony 2.1
23-
24-
Charset
25-
~~~~~~~
26-
27-
**type**: ``string`` **default**: ``UTF-8``
28-
29-
This returns the charset that is used in the application. To change it, override the
30-
:method:`Symfony\\Component\\HttpKernel\\Kernel::getCharset` method and return another
31-
charset, for instance::
32-
33-
// app/AppKernel.php
34-
35-
// ...
36-
class AppKernel extends Kernel
37-
{
38-
public function getCharset()
39-
{
40-
return 'ISO-8859-1';
41-
}
42-
}
43-
4419
Kernel Name
4520
~~~~~~~~~~~
4621

0 commit comments

Comments
 (0)