encryptObject()
encryptObject(object|\stdClass $object) : string
Encrypts the serialized value of the given object.
Parameters
object|\stdClass | $object | The object for encryption. |
Throws
- \Exception
Validation errors.
Returns
string —The encrypted serialized object as a string.