| Total Complexity | 1 |
| Total Lines | 29 |
| Duplicated Lines | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 21 | #[Attribute(Attribute::TARGET_PROPERTY)] |
||
| 22 | final class ShowAssociationField extends ShowField implements |
||
| 23 | AssociationFieldInterface |
||
| 24 | { |
||
| 25 | |||
| 26 | /** |
||
| 27 | * Association field name. |
||
| 28 | * |
||
| 29 | * @var string|null |
||
| 30 | */ |
||
| 31 | public ?string $field = null; |
||
| 32 | |||
| 33 | /** |
||
| 34 | * @param string|array|null $type Type or annotation |
||
| 35 | * parameters. |
||
| 36 | * @param array $fieldDescriptionOptions Description options. |
||
| 37 | * @param int|null $position Position. |
||
| 38 | * @param string|null $field Association field name. |
||
| 39 | * |
||
| 40 | * @throws \ReflectionException |
||
| 41 | */ |
||
| 42 | public function __construct( |
||
| 53 |