Exemplo n.º 1
0
 /**
  *  Flag all entries with the given namespace, group and item and locale other than default as pending review.
  *  This is used when an entry for the default locale is updated.
  *
  *  @param Translation $entry
  *  @return boolean
  */
 public function flagAsUnstable($namespace, $group, $item)
 {
     $this->model->whereNamespace($namespace)->whereGroup($group)->whereItem($item)->where('locale', '!=', $this->defaultLocale)->update(['unstable' => '1']);
 }