forked from traderinteractive/util-php
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request traderinteractive#43 from chadicus/master
unsetAll(), nullifyEmptyStrings unsetAll is a convenience method that will remove all elements specified by the $keys array. nullifyWhiteSpace will convert all strings containing only whitespace to null. Usefull for db inserts when you want to insert null and not an empty string.
- Loading branch information
Showing
2 changed files
with
110 additions
and
0 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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