Skip to content

Instantly share code, notes, and snippets.

@ayoub-bousetta
Last active October 7, 2020 03:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ayoub-bousetta/09c14b759ec8396cd244a49165e7fc48 to your computer and use it in GitHub Desktop.
Save ayoub-bousetta/09c14b759ec8396cd244a49165e7fc48 to your computer and use it in GitHub Desktop.
private function resetAll($datas){
foreach($datas as $key=>$pods){
$datas[$key]='';
}
return $datas;
}
you can call it by : $this->resetAll($array)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment