lithium\data\Collection::__construct PHP 메소드

__construct() 공개 메소드

Constructor.
또한 보기: lithium\data\Collection::$_data
또한 보기: lithium\data\Collection::$_model
public __construct ( array $config = [] ) : void
$config array Available configuration options are: - `'data'` _array_ - `'model'` _string|null_
리턴 void
    public function __construct(array $config = array())
    {
        $defaults = array('data' => array(), 'model' => null);
        parent::__construct($config + $defaults);
    }