class PropertyMetadata (View source)

Property metadata represents information about the definition of a single property of an annotation, it's name, accepted types, whether it's required and whether it's default.

Methods

__construct(string $name, Type $type, bool $required = false, bool $default = false, Type|null $enum = null)

No description

getName()

No description

isRequired()

No description

getType()

No description

isDefault()

No description

getEnum()

No description

Details

__construct(string $name, Type $type, bool $required = false, bool $default = false, Type|null $enum = null)

Parameters

string $name
Type $type
bool $required
bool $default
Type|null $enum

getName()

isRequired()

getType()

isDefault()

getEnum()