/**
* Returns a new instance of the Database Seeder.
*
* @phpstan-param null|non-empty-string $group
*
* @return Seeder
*/
public static function seeder(?string
$group = null
) { $config =
config(DbConfig::
class);
return new Seeder($config,
static::
connect($group));
} /**
* Ensures the database Connection Manager/Factory is loaded and ready to use.
*/
protected static function ensureFactory() { if (static::
$factory instanceof Database
) { return;
}