@@ -343,7 +343,7 @@ as arguments of other services:
343
343
# constants can be built-in, user-defined, or Enums
344
344
- !php/const E_ALL
345
345
- !php/const PDO::FETCH_NUM
346
- - !php/const App\Service\AnotherService::SOME_CONSTANT
346
+ - !php/const Symfony\Component\HttpKernel\Kernel::VERSION
347
347
- !php/const App\Config\SomeEnum::SomeCase
348
348
349
349
# when not using autowiring, you can pass service arguments explicitly
@@ -384,7 +384,7 @@ as arguments of other services:
384
384
<!-- constants can be built-in, user-defined, or Enums -->
385
385
<argument type =" constant" >E_ALL</argument >
386
386
<argument type =" constant" >PDO::FETCH_NUM</argument >
387
- <argument type =" constant" >App\Service\AnotherService::SOME_CONSTANT </argument >
387
+ <argument type =" constant" >Symfony\Component\HttpKernel\Kernel::VERSION </argument >
388
388
<argument type =" constant" >App\Config\SomeEnum::SomeCase</argument >
389
389
390
390
<!-- when not using autowiring, you can pass service arguments explicitly -->
@@ -427,7 +427,7 @@ as arguments of other services:
427
427
// constants: built-in, user-defined, or Enums
428
428
->arg(4, E_ALL)
429
429
->arg(5, \PDO::FETCH_NUM)
430
- ->arg(6, App\Service\AnotherService::SOME_CONSTANT )
430
+ ->arg(6, Symfony\Component\HttpKernel\Kernel::VERSION )
431
431
->arg(7, App\Config\SomeEnum::SomeCase)
432
432
433
433
// when not using autowiring, you can pass service arguments explicitly
0 commit comments