Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- namespace Config\Database;
- use Config\Config;
- use Config\ConfigLoader;
- final class MySQL extends Config {
- public static $dbName;
- public static $host;
- public static $dbType;
- public static $port;
- public static $dbUser;
- public static $dbPass;
- }
- MySQL::$dbName = Config::get('MySQL')['DBName'];
- MySQL::$host = Config::get('MySQL')['Host'];
- MySQL::$dbType = Config::get('MySQL')['DBType'];
- MySQL::$port = Config::get('MySQL')['Port'];
- MySQL::$dbUser = Config::get('MySQL')['DBUser'];
- MySQL::$dbPass = Config::get('MySQL')['DBPass'];
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement