SchemaTrait
Provides methods for initialize a 'schema' property.
Tags
Table of Contents
Properties
- $schema : string|null
- The internal schema to use to hydrate the resources.
Methods
- initializeSchema() : static
- Initialize the 'schema' property.
Properties
$schema
The internal schema to use to hydrate the resources.
public
string|null
$schema
= null
Methods
initializeSchema()
Initialize the 'schema' property.
public
initializeSchema([array<string|int, mixed> $init = [] ]) : static
Parameters
- $init : array<string|int, mixed> = []