PHP Class Pop\Log\Writer\Db

Author: Nick Sagona, III ([email protected])
Inheritance: implements Pop\Log\Writer\WriterInterface
Afficher le fichier Open project: nicksagona/PopPHP

Protected Properties

Свойство Type Description
$table Pop\Db\Record Table record object that represents the log table in the database

Méthodes publiques

Méthode Description
__construct ( Record $table ) : Db Constructor
writeLog ( array $logEntry, array $options = [] ) : Db Method to write to the log

Method Details

__construct() public méthode

Instantiate the DB writer object.
public __construct ( Record $table ) : Db
$table Pop\Db\Record
Résultat Db

writeLog() public méthode

Method to write to the log
public writeLog ( array $logEntry, array $options = [] ) : Db
$logEntry array
$options array
Résultat Db

Property Details

$table protected_oe property

Table record object that represents the log table in the database
protected Record,Pop\Db $table
Résultat Pop\Db\Record