Ubiquity 2.5.2
php rapid development framework
Loading...
Searching...
No Matches
Injected.php
Go to the documentation of this file.
1<?php
2
4
5use Attribute;
8
20#[Attribute(Attribute::TARGET_PROPERTY)]
22
23 public ?string $name;
24 public ?string $code;
25
31 public function __construct(?string $name = null, ?string $code = null) {
32 $this->name = $name;
33 $this->code = $code;
34 }
35
36}
Ubiquity\annotations$BaseAnnotationTrait This class is part of Ubiquity.
Ubiquity\attributes$BaseAttribute This class is part of Ubiquity.
Attribute for dependency injection.
Definition Injected.php:21
__construct(?string $name=null, ?string $code=null)
Injected constructor.
Definition Injected.php:31
Dependency injection attributes.
Definition Autowired.php:7