Exemplo n.º 1
0
 /**
  * Return a talk by ID.
  *
  * @param integer $id The ID of the talk.
  *
  * @return Talk A talk if found, otherwise null.
  */
 public static function getTalk($id)
 {
     Log::info('Get talk.', compact('id'));
     return Talk::find($id);
 }