File "ConnectionResolverInterface.php"

Full Path: /home/romayxjt/public_html/wp-content/plugins/fluentform/vendor/wpfluent/framework/src/WPFluent/Database/ConnectionResolverInterface.php
File size: 437 bytes
MIME-type: text/x-php
Charset: utf-8

<?php

namespace FluentForm\Framework\Database;

interface ConnectionResolverInterface
{
	/**
	 * Get a database connection instance.
	 */
	public function connection($name = null);

	/**
	 * Get the default connection name.
	 *
	 * @return string
	 */
	public function getDefaultConnection();

	/**
	 * Set the default connection name.
	 *
	 * @param  string  $name
	 * @return void
	 */
	public function setDefaultConnection($name);
}