Gets the column schema for a given entity (such as a database table).

Parameters

  • mixed $entity 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.
  • array $meta

Returns

array Returns an associative array describing the given table'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

Source

						abstract public function describe($entity, array $meta = array());