WowPress-Tailwind/theme/vendor/illuminate/database/ConnectionResolverInterface...

30 lines
575 B
PHP
Raw Normal View History

2024-04-15 16:00:49 +02:00
<?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);
}