Documentation

AnnotatedBaseField
in package

AbstractYes

Base class for annotated fields.

Table of Contents

Properties

$guidelines  : string|null
$selected  : bool

Methods

__construct()  : mixed
createField()  : AnnotatedSimpleField|AnnotatedObjectField|AnnotatedListField
toArray()  : array<string, mixed>

Properties

$guidelines

public string|null $guidelines

Guidelines or instructions for processing this field.

$selected

public bool $selected

When true, use the RAG information for the final result. When false, use the Data Schema information.

Methods

__construct()

public __construct(bool $selected, string|null $guidelines) : mixed
Parameters
$selected : bool
$guidelines : string|null

toArray()

public abstract toArray() : array<string, mixed>
Return values
array<string, mixed>

Array representation for serialization.

On this page

Search results