truncateTranslations() public method

public truncateTranslations ( $group = null )
コード例 #1
0
 /**
  * Execute the console command.
  *
  * @return void
  */
 public function fire()
 {
     $this->manager->truncateTranslations();
     $this->info("All translations are deleted");
 }
コード例 #2
0
 public function postDeleteAll($group)
 {
     $this->manager->truncateTranslations($group);
     return \Response::json(array('status' => 'ok', 'counter' => (int) 0));
 }