FieldDefinition
in package
Read onlyYes
FinalYes
Metadata of one DTO field, read from its mapping attributes.
Table of Contents
Properties
- $bt : string|null
- $cardinality : string|null
- $cii : string|null
- $class : string
- $computed : bool
- $extendedOnly : bool
- $internal : bool
- $level : ProfileLevel
- $pdfOnly : bool
- $property : string
- $requiredIn : array<string|int, mixed>
- $ubl : string|null
- $xrechnungExtensionOnly : bool
Methods
- __construct() : mixed
- isMandatory() : bool
Properties
$bt
public
string|null
$bt
$cardinality
public
string|null
$cardinality
$cii
public
string|null
$cii
$class
public
string
$class
$computed
public
bool
$computed
$extendedOnly
public
bool
$extendedOnly
$internal
public
bool
$internal
$level
public
ProfileLevel
$level
$pdfOnly
public
bool
$pdfOnly
$property
public
string
$property
$requiredIn
public
array<string|int, mixed>
$requiredIn
$ubl
public
string|null
$ubl
$xrechnungExtensionOnly
public
bool
$xrechnungExtensionOnly
Methods
__construct()
public
__construct(class-string $class, string $property, string|null $bt, string|null $cardinality, ProfileLevel $level, array<int, string> $requiredIn, bool $extendedOnly, bool $xrechnungExtensionOnly, bool $computed, bool $pdfOnly, bool $internal, string|null $cii, string|null $ubl) : mixed
Parameters
- $class : class-string
- $property : string
- $bt : string|null
- $cardinality : string|null
- $level : ProfileLevel
- $requiredIn : array<int, string>
- $extendedOnly : bool
- $xrechnungExtensionOnly : bool
- $computed : bool
- $pdfOnly : bool
- $internal : bool
- $cii : string|null
- $ubl : string|null
isMandatory()
public
isMandatory() : bool