FlexFormSchema
final readonly class \
- Implements
- SchemaInterface
Table of Contents
Interfaces
- SchemaInterface
- A generic interface for any kind of schema
Methods
- __construct() : mixed
- __set_state() : self
- getField() : FieldTypeInterface|null
- getFields() : FieldCollection
- getName() : string
- getSheets() : array
Methods
__construct()
public
__construct(string $structIdentifier, array $sheets) : mixed
Parameters
- $structIdentifier : string
- $sheets : array
__set_state()
public
static __set_state(array $state) : self
Parameters
- $state : array
Return values
selfgetField()
public
getField(string $fieldName[, string|null $sheetName = null ]) : FieldTypeInterface|null
Parameters
- $fieldName : string
- $sheetName : string|null = null
Return values
FieldTypeInterface|nullgetFields()
public
getFields([callable|null $filterFunction = null ]) : FieldCollection
Parameters
- $filterFunction : callable|null = null
Return values
FieldCollectiongetName()
public
getName() : string
Return values
stringgetSheets()
public
getSheets() : array