Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Decryption not working with toArray() #25

Closed
ameerElsherif opened this issue Feb 24, 2019 · 1 comment
Closed

Decryption not working with toArray() #25

ameerElsherif opened this issue Feb 24, 2019 · 1 comment
Assignees
Labels
question Further information is requested

Comments

@ameerElsherif
Copy link

Hi there,

Automatic decryption of values only works when accessing model attributes like this:
$model->attribute

However, returning a model instance or using $model->toArray() returns encrypted values.

Any suggestions?

@sander3 sander3 self-assigned this Mar 2, 2019
@sander3 sander3 added the question Further information is requested label Mar 2, 2019
@sander3
Copy link
Owner

sander3 commented Mar 2, 2019

Please take a look at: #22 (comment)

@sander3 sander3 closed this as completed Mar 2, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants