lithium\data\Collection::__construct()
Constructor.
Parameters
-
array
$config
Available configuration options are:
'data'
array'model'
string|null
Returns
voidSource
public function __construct(array $config = []) {
$defaults = ['data' => [], 'model' => null];
parent::__construct($config + $defaults);
}