/** * @param array $prop * * @return DatabaseConfig */ public static function getInstance($prop = null) { if (!self::$instance) { self::$instance = new self($prop); } return self::$instance; }
/** * @param array $prop * @return DatabaseConfig */ public static function getInstance($prop = null) { if (!self::$instance) { self::$instance = new DatabaseConfig($prop); } return self::$instance; }