Releases: inanepain/stdlib
Releases · inanepain/stdlib
0.8.0
- update:
Options::defaultsnow accepts arrays. - new:
ReflectionException,DateMalformedStringException,DateException,JsonException - new:
NumberFormatterTrailwhich canformata number or currency to currency or pattern. - update:
Json:
** new:::ecodenew third param$file, optionally also write to file.
** new:::decodeFiledecode JSON from a file.
** new:::$throwOnErrorsetsJSON_THROW_ON_ERROR.
** new:::$lastExceptionset tonullif no error occurred.
** update:encode&decodemethods new options key onerror. This lets you set if an error should be thrown and if UTF8 characters should be either ignored or substituted in the response. - update:
OptionsInterface:
** addedSerializable.
** addedcomplete.
** increased usage. - update:
HashTypemore types. - new:
HashUtilitycreate and identify hashes. - new:
CastAndAssignA class that provides a variety of methods that cast a value to its variable type before assigning it. - new:
CastAndAssignTraitThe methods used byCastAndAssign. - new:
NotFoundExceptionwhen required items are not found. - general code update and refresh.