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