/**
  * Generates a list of the last $limit revisions made to any objects of the class it is being called from.
  *
  * @param int $limit
  * @param string $order
  * @return mixed
  */
 public static function classRevisionHistory($limit = 100, $order = 'desc')
 {
     return \Venturecraft\Revisionable\Revision::where('revisionable_type', get_called_class())->orderBy('updated_at', $order)->limit($limit)->get();
 }
 /**
  * Generates a list of the last $limit revisions made to any objects of the class it is being called from.
  *
  * @param int $limit
  * @param string $order
  * @return mixed
  */
 public static function classRevisionHistory($limit = 20, $order = 'desc')
 {
     return Revision::where('revisionable_type', get_called_class())->orderBy('created_at', $order)->limit($limit)->get();
 }