Last active
October 7, 2020 03:29
-
-
Save ayoub-bousetta/09c14b759ec8396cd244a49165e7fc48 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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