コード例 #1
0
 /**
  * @param array $attributes
  *
  * @return ModerationLog
  */
 public function create(array $attributes)
 {
     return $this->moderationLog->create($attributes);
 }
コード例 #2
0
 /**
  * @return \Illuminate\View\View
  */
 public function logs()
 {
     $logs = ModerationLog::all()->reverse();
     return view('moderation.logs', ['logs' => $logs])->withActive('logs');
 }