Code Coverage |
||||||||||
Lines |
Functions and Methods |
Classes and Traits |
||||||||
| Total | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
CRAP | |
100.00% |
1 / 1 |
| MyCustomField | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |
100.00% |
1 / 1 |
| __construct | |
100.00% |
1 / 1 |
|
100.00% |
1 / 1 |
1 | |||
| 1 | <?php declare(strict_types=1); |
| 2 | |
| 3 | namespace Satag\AmicronEntityBundle\CustomField; |
| 4 | |
| 5 | #[\Attribute(\Attribute::TARGET_CLASS)] |
| 6 | class MyCustomField |
| 7 | { |
| 8 | public function __construct( |
| 9 | public readonly string $setTo, |
| 10 | public readonly int $priority = 0, |
| 11 | ) { |
| 12 | } |
| 13 | } |