public __construct ( string $type, integer | string | array $length = null, |
||
$type | string | type of the column. See [[$type]]. |
$length | integer | string | array | length or precision of the column. See [[$length]]. |
$db | the current database connection. See [[$db]]. | |
$config | array | name-value pairs that will be used to initialize the object properties |