DatabaseMessage

DatabaseMessage class DatabaseMessage (View source) Properties array $data The data that should be stored with the notification.

DatabaseManager::__construct()

void __construct(Application $app, ConnectionFactory $factory) Create a new database manager instance. Parameters Application $app ConnectionFactory $factory Return Value void

DatabaseManager::__call()

mixed __call(string $method, array $parameters) Dynamically pass methods to the default connection. Parameters string $method array $parameters Return Value mixed

DatabaseManager::supportedDrivers()

array supportedDrivers() Get all of the support drivers. Return Value array

DatabaseManager::setDefaultConnection()

void setDefaultConnection(string $name) Set the default connection name. Parameters string $name Return Value void

DatabaseManager::reconnect()

Connection reconnect(string $name = null) Reconnect to the given database. Parameters string $name Return Value Connection

DatabaseManager::purge()

void purge(string $name = null) Disconnect from the given database and remove from local cache. Parameters string $name Return Value void

DatabaseManager::getDefaultConnection()

string getDefaultConnection() Get the default connection name. Return Value string

DatabaseManager::getConnections()

array getConnections() Return all of the created connections. Return Value array

DatabaseManager::extend()

void extend(string $name, callable $resolver) Register an extension connection resolver. Parameters string $name callable $resolver Return Value void