Movatterモバイル変換


[0]ホーム

URL:


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

Sign up
Appearance settings

Commit9ab8434

Browse files
committed
Merge branch '5.1'
* 5.1: User service() instead of ref() Missed cleanup in fluent migration
2 parents67fe7a4 +11f4532 commit9ab8434

File tree

3 files changed

+1
-5
lines changed

3 files changed

+1
-5
lines changed

‎cache.rst‎

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -564,9 +564,6 @@ to enable this feature. This could be added by using the following configuration
564564
..code-block::php
565565
566566
// config/packages/cache.php
567-
use Symfony\Component\Cache\Adapter\ChainAdapter;
568-
use Symfony\Component\DependencyInjection\Reference;
569-
570567
$container->loadFromExtension('framework', [
571568
'cache' => [
572569
'pools' => [

‎reference/configuration/swiftmailer.rst‎

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -381,7 +381,6 @@ alternatives based on the :ref:`service binding <services-binding>` feature:
381381
// config/services.php
382382
use App\Some\Service;
383383
use Psr\Log\LoggerInterface;
384-
use Symfony\Component\DependencyInjection\Reference;
385384
386385
387386
$container->register(Service::class)

‎service_container.rst‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -483,7 +483,7 @@ all their types (string, boolean, array, binary and PHP constant parameters).
483483
However, there is another type of parameter related to services. In YAML config,
484484
any string which starts with ``@`` is considered as the ID of a service, instead
485485
of a regular string. In XML config, use the ``type="service"`` type for the
486-
parameter and in PHP config use the ``Reference``class:
486+
parameter and in PHP config use the ``service()``function:
487487

488488
..configuration-block::
489489

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp