public __construct ( |
||
$connection | the database connection. | |
$config | array | name-value pairs that will be used to initialize the object properties |
public function __construct($connection, $config = [])
{
$this->db = $connection;
parent::__construct($config);
}