lithium\data\Source::describe PHP Method

describe() abstract public method

Gets the column schema for a given entity (such as a database table).
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
    public abstract function describe($entity, $schema = array(), array $meta = array());