diff --git a/src/MySQLRequirements.php b/src/MySQLRequirements.php new file mode 100644 index 0000000..5d1ff3e --- /dev/null +++ b/src/MySQLRequirements.php @@ -0,0 +1,25 @@ +host->name; + if (isset($config->host->port)) { + $dsn .= ';port=' . $config->host->port; + } + $dsn .= '; dbname=' . $config->database->name; + return $dsn; + } + public function hasUser(): bool { + return true; + } +}