/** * Method to write to the log * * @param array $logEntry * @param array $options * @return \Pop\Log\Writer\Db */ public function writeLog(array $logEntry, array $options = array()) { $this->table->setValues($logEntry)->save(); return $this; }
public function testSetValuesException() { $this->setExpectedException('Pop\\Db\\Exception'); $r = new Record(); $r->setValues(123); }