PHP 클래스 Pop\Log\Writer\Db

저자: Nick Sagona, III ([email protected])
상속: implements Pop\Log\Writer\WriterInterface
파일 보기 프로젝트 열기: nicksagona/PopPHP

보호된 프로퍼티들

프로퍼티 타입 설명
$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