File tree Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Expand file tree Collapse file tree 2 files changed +28
-1
lines changed Original file line number Diff line number Diff line change
1
+ <?php
2
+
3
+ /*
4
+ * This file is part of the Symfony package.
5
+ *
6
+ * (c) Fabien Potencier <fabien@symfony.com>
7
+ *
8
+ * For the full copyright and license information, please view the LICENSE
9
+ * file that was distributed with this source code.
10
+ */
11
+
12
+ namespace Symfony \Contracts \Service \Attribute ;
13
+
14
+ use Attribute ;
15
+
16
+ /**
17
+ * A required dependency.
18
+ *
19
+ * This attribute indicates that a property holds a required dependency. The annotated property or method should be
20
+ * considered during the instantiation process of the containing class.
21
+ *
22
+ * @author Alexander M. Turek <me@derrabus.de>
23
+ */
24
+ #[Attribute(Attribute::TARGET_METHOD | Attribute::TARGET_PROPERTY )]
25
+ final class Required
26
+ {
27
+ }
Original file line number Diff line number Diff line change 28
28
"minimum-stability" : " dev" ,
29
29
"extra" : {
30
30
"branch-alias" : {
31
- "dev-master" : " 2.1 -dev"
31
+ "dev-master" : " 2.2 -dev"
32
32
},
33
33
"thanks" : {
34
34
"name" : " symfony/contracts" ,
You can’t perform that action at this time.
0 commit comments