lithium\data\source\mongo_db\Schema::__construct()
Overrides
lithium\core\Object::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'fields'
array
Returns
voidSource
public function __construct(array $config = array()) {
$defaults = array('fields' => array('_id' => array('type' => 'id')));
parent::__construct(array_filter($config) + $defaults);
}