protected function init(DbPropType $type = null, $default = null) { $this->type = PsCheck::object($type); $this->default = $type->validateDefault($default); }