コード例 #1
0
 /**
  * @param $event
  */
 public function afterRequest($event)
 {
     $request = new RequestLog();
     $request->save();
 }
 public function safeDown()
 {
     $this->dropTable(RequestLog::tableName());
     return true;
 }
 public function safeDown()
 {
     $this->alterColumn(RequestLog::tableName(), 'params', Schema::TYPE_STRING . ' not null');
     return true;
 }