Base64Serializer
class Base64Serializer implements SerializerInterface (View source)
Encodes and decodes data to and from base64.
Throws a Base64Exception when decoding an invalid base64 string while strict is true.
Methods
__construct(bool $strict = true)
No description
mixed
decode(mixed $value)
Deserialize the value.
mixed
encode(mixed $value)
Serialize the value.
static Base64Serializer
make(bool $strict = true)
No description
Details
__construct(bool $strict = true)
No description
mixed
decode(mixed $value)
Deserialize the value.
mixed
encode(mixed $value)
Serialize the value.
static Base64Serializer
make(bool $strict = true)
No description