PHP Класс System\database

Показать файл Открыть проект

Открытые свойства

Свойство Тип Описание
$connections array The current database driver

Открытые методы

Метод Описание
__callStatic ( $method, $arguments ) : mixed Magic method for calling database driver methods on the default connection
connection ( $name = null ) : object Get a database connection by name r return the default
factory ( $config ) : object Create a new database conncetor from app config
profile ( $name = null ) : array Get a database connection profile

Описание методов

__callStatic() публичный статический Метод

Magic method for calling database driver methods on the default connection
public static __callStatic ( $method, $arguments ) : mixed
Результат mixed

connection() публичный статический Метод

Get a database connection by name r return the default
public static connection ( $name = null ) : object
Результат object

factory() публичный статический Метод

Create a new database conncetor from app config
public static factory ( $config ) : object
Результат object Database connector

profile() публичный статический Метод

Get a database connection profile
public static profile ( $name = null ) : array
Результат array

Описание свойств

$connections публичное статическое свойство

The current database driver
public static array $connections
Результат array