PHP Класс Pop\Log\Writer\Db

Автор: Nick Sagona, III ([email protected])
Наследование: implements Pop\Log\Writer\WriterInterface
Показать файл Открыть проект

Защищенные свойства (Protected)

Свойство Тип Описание
$table Pop\Db\Record Table record object that represents the log table in the database

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

Метод Описание
__construct ( Record $table ) : Db Constructor
writeLog ( array $logEntry, array $options = [] ) : Db Method to write to the log

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

__construct() публичный Метод

Instantiate the DB writer object.
public __construct ( Record $table ) : Db
$table Pop\Db\Record
Результат Db

writeLog() публичный Метод

Method to write to the log
public writeLog ( array $logEntry, array $options = [] ) : Db
$logEntry array
$options array
Результат Db

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

$table защищенное свойство

Table record object that represents the log table in the database
protected Record,Pop\Db $table
Результат Pop\Db\Record