abstract public describe ( mixed $entity, array $schema = [], array $meta = [] ) : array |
$entity |
mixed |
Specifies the table name for which the schema should be returned, or
the class name of the model object requesting the schema, in which case the model
class will be queried for the correct table name. |
$schema |
array |
|
$meta |
array |
The meta-information for the model class, which this method may use in
introspecting the schema. |
return |
array |
Returns a `Schema` object describing the given model's schema, where the
array keys are the available fields, and the values are arrays describing each
field, containing the following keys:
- `'type'`: The field type name |