getConfig() public method

public getConfig ( $key = null )
 public function postDelete($group, $sub_group = null, $key)
 {
     if (!in_array($group, $this->manager->getConfig('exclude_groups')) && $this->manager->getConfig('delete_enabled')) {
         Translation::where('group', $group)->where('key', $key)->delete();
         return ['status' => 'ok'];
     }
 }
 public function postDelete()
 {
     $groups = func_get_args();
     $key = array_pop($groups);
     // the last arg is the key
     $group = implode('/', $groups);
     if (!in_array($group, $this->manager->getConfig('exclude_groups')) && $this->manager->getConfig('delete_enabled')) {
         Translation::where('group', $group)->where('key', $key)->delete();
         return ['status' => 'ok'];
     }
 }