mirror of
https://github.com/Neetpone/ponepaste.git
synced 2025-03-12 06:30:07 +01:00
29 lines
575 B
PHP
Executable file
29 lines
575 B
PHP
Executable file
<?php
|
|
|
|
namespace Illuminate\Database;
|
|
|
|
interface ConnectionResolverInterface
|
|
{
|
|
/**
|
|
* Get a database connection instance.
|
|
*
|
|
* @param string|null $name
|
|
* @return \Illuminate\Database\ConnectionInterface
|
|
*/
|
|
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);
|
|
}
|