Bbc

Properties

key

private string $key

type

private string $type

Methods

__construct

FieldInterface constructor.

public __construct(array $field, string $key, string $type): mixed

Parameters:

Parameter Type Description
$field array An array representing the field properties.
$key string  
$type string The type of the field.

__toString

Convert the field to its HTML representation.

public __toString(): string

Return Value:

The HTML representation of the field.

Automatically generated on 2024-05-12