jerowork /
graphql-attribute-schema
| 1 | <?php |
||
| 2 | |||
| 3 | declare(strict_types=1); |
||
| 4 | |||
| 5 | namespace Jerowork\GraphqlAttributeSchema\Attribute; |
||
| 6 | |||
| 7 | use Attribute; |
||
| 8 | |||
| 9 | #[Attribute(Attribute::TARGET_PARAMETER)] |
||
| 10 | final readonly class Autowire |
||
|
0 ignored issues
–
show
Bug
introduced
by
Loading history...
|
|||
| 11 | { |
||
| 12 | /** |
||
| 13 | * @param string|class-string $service |
||
| 14 | */ |
||
| 15 | 5 | public function __construct( |
|
| 16 | public ?string $service = null, |
||
| 17 | 5 | ) {} |
|
| 18 | } |
||
| 19 |