diff --git a/_includes/service_container/_my_mailer.rst.inc b/_includes/service_container/_my_mailer.rst.inc deleted file mode 100644 index 01eafdfe87a..00000000000 --- a/_includes/service_container/_my_mailer.rst.inc +++ /dev/null @@ -1,33 +0,0 @@ -.. configuration-block:: - - .. code-block:: yaml - - # config/services.yaml - services: - app.mailer: - class: App\Mailer - arguments: [sendmail] - - .. code-block:: xml - - - - - - - - sendmail - - - - - .. code-block:: php - - // config/services.php - use App\Mailer; - - $container->register('app.mailer', Mailer::class) - ->addArgument('sendmail'); diff --git a/reference/forms/types/options/scale.rst.inc b/reference/forms/types/options/scale.rst.inc deleted file mode 100644 index 0d2ec3d6dbc..00000000000 --- a/reference/forms/types/options/scale.rst.inc +++ /dev/null @@ -1,9 +0,0 @@ -``scale`` -~~~~~~~~~ - -**type**: ``integer`` **default**: Locale-specific (usually around ``3``) - -This specifies how many decimals will be allowed until the field rounds -the submitted value (via ``rounding_mode``). For example, if ``scale`` is set -to ``2``, a submitted value of ``20.123`` will be rounded to, for example, -``20.12`` (depending on your `rounding_mode`_). diff --git a/security/_supportsToken.rst.inc b/security/_supportsToken.rst.inc deleted file mode 100644 index e4403123a01..00000000000 --- a/security/_supportsToken.rst.inc +++ /dev/null @@ -1,10 +0,0 @@ -After Symfony calls ``createToken()``, it will then call ``supportsToken()`` -on your class (and any other authentication listeners) to figure out who should -handle the token. This is just a way to allow several authentication mechanisms -to be used for the same firewall (that way, you can for instance first try -to authenticate the user via a certificate or an API key and fall back to -a form login). - -Essentially, you need to make sure that this method returns ``true`` for a -token that has been created by ``createToken()``. Your logic should probably -look exactly like this example.