Helpers\Data
Data helper contains a bunch of useful methods for looking at and altering your data.
Data::pr($data)
Returns the data inside a print_r wrapped around pre tags.
Data::vd($data)
Returns var_dump
Data::sl($data)
Returns the length of the string
Data::stu($data)
Convert to uppercase
Data::stl($data)
Convert to lower
Data::ucw($data)
Returns the string with the first letter of each word in uppercase using ucwords
Data::createKey($length = 32)
Create a key and set the length.
时间: 2024-10-02 05:30:07