The most common conversion utilities to change the data from a simple type to another one.
To convert complex classes or structures, use SerializationUtils class.
package | Default |
---|
base64ToString(string $string): string
string
a base64 string
string
The base64 decoded as its original string
stringToBase64(string $string): string
string
The input string to be converted
string
The input string as base 64