File tree Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Expand file tree Collapse file tree 1 file changed +3
-27
lines changed Original file line number Diff line number Diff line change @@ -302,35 +302,19 @@ the ``decoration_priority`` option. Its value is an integer that defaults to
302
302
#[AsDecorator(decorates: Foo::class, priority: 5)]
303
303
class Bar
304
304
{
305
- <<<<<<< HEAD
306
- private $inner;
307
-
308
- public function __construct(#[AutowireDecorated] $inner)
309
- {
310
- $this->inner = $inner;
311
- =======
312
305
public function __construct(
313
- private #[MapDecorated ] $inner,
306
+ private #[AutowireDecorated ] $inner,
314
307
) {
315
- >>>>>>> 6.2
316
308
}
317
309
// ...
318
310
}
319
311
320
312
#[AsDecorator(decorates: Foo::class, priority: 1)]
321
313
class Baz
322
314
{
323
- <<<<<<< HEAD
324
- private $inner;
325
-
326
- public function __construct(#[AutowireDecorated] $inner)
327
- {
328
- $this->inner = $inner;
329
- =======
330
315
public function __construct(
331
- private #[MapDecorated ] $inner,
316
+ private #[AutowireDecorated ] $inner,
332
317
) {
333
- >>>>>>> 6.2
334
318
}
335
319
336
320
// ...
@@ -638,17 +622,9 @@ Three different behaviors are available:
638
622
#[AsDecorator(decorates: Mailer::class, onInvalid: ContainerInterface::IGNORE_ON_INVALID_REFERENCE)]
639
623
class Bar
640
624
{
641
- <<<<<<< HEAD
642
- private $inner;
643
-
644
- public function __construct(#[AutowireDecorated] $inner)
645
- {
646
- $this->inner = $inner;
647
- =======
648
625
public function __construct(
649
- private #[MapDecorated ] $inner,
626
+ private #[AutowireDecorated ] $inner,
650
627
) {
651
- >>>>>>> 6.2
652
628
}
653
629
654
630
// ...
You can’t perform that action at this time.
0 commit comments