| Server IP : 54.94.228.101 / Your IP : 172.28.1.13 Web Server : Apache System : Linux ip-172-28-29-189 6.5.0-1014-aws #14~22.04.1-Ubuntu SMP Thu Feb 15 15:27:06 UTC 2024 x86_64 User : www-data ( 33) PHP Version : 7.2.34-43+ubuntu22.04.1+deb.sury.org+1 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_get_handler,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,pcntl_async_signals, MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/html/vinumday2_0/vendor/anahkiasen/underscore-php/ |
Upload File : |
# CHANGELOG ## 2.0.0 ### Added - Added `Functions::partial` ### Deprecated - `String` and `StringMethods` renamed to `Strings` and `StringsMethods` for PHP7 compatibility - Package doesn't rely anymore on `illuminate/support` and should now be installable on any version of Laravel ## 1.3.1 ### Changed - Minimum PHP version bumped to 5.4 - Allow non existant properties to be part of comparison instead of filtered out ## 1.3.0 ### Added - Make helpers file opt-in - Added `Arrays::interescts` and `Arrays::interesctions` - Added `Collection::findBy` and `Collection::filterBy` - Added `Arrays::removeValue` ## 1.2.3 ### Fixed - Don't overwrite already defined `__` functions ## 1.2.2 ### Fixed - Fixed `Arrays::find` not returning null on failed find - Fixed bug in `Arrays::contains` ## 1.2.1 ### Added - Added `Strings::isIp`, `Strings::isEmail` and `Strings::isUrl` from @robclancy Str class - Added `Strings::prepend` and `Strings::append` - Added `Strings::baseClass` to get the class out of a namespace (ie `Class` from `Namespace\My\Class`) ## 1.2.0 ### Changed - Underscore.php now uses Illuminate's Strings class instead of Laravel 3's - The `Underscore::chain` method was renamed to `Underscore::from` to match Repositories behavior ## 1.1.1 ### Added - Parse::toArray will now use existing `toArray` method on objects if existing - Add various case switchers (`toPascalCase`, `toSnakeCase`, `toCamelCase`) - Add `Arrays::replaceKeys` to swap all the keys of an array - Add possibility to change which character `Arrays::flatten` uses to flatten arrays - Make Repositories use `Parse::toString` on `__toString` ## 1.1.0 ### Added - Add Strings::randomStrings - Repositories can now call the `->isEmpty` method to check if the subject is empty ### Changed - Type classes now convert their subjects, meaning an object passed to an `Arrays::from` will convert the object to array - Parse::toInteger($string) now returns the length of the string ### Fixed - Fix bug with some native PHP functions when chaining - Fix bug with type routing ## 1.0.0 ### Added - Intial release of Underscore.php - Type classes are now extendable - Macros can't conflict between types - Added Arrays::replaceValue to do an str_replace