You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The __construct in the interface now takes away the freedom to implement your own encryptor which does more than just using a key. I want to create a asymmetrical encryptable class where I need to pass services to the __construct. It would be better if the encryptor was set as a service and then passed as a whole instead of initializing the encryptor and passing the key in the service.
The text was updated successfully, but these errors were encountered:
The __construct in the interface now takes away the freedom to implement your own encryptor which does more than just using a key. I want to create a asymmetrical encryptable class where I need to pass services to the __construct. It would be better if the encryptor was set as a service and then passed as a whole instead of initializing the encryptor and passing the key in the service.
The text was updated successfully, but these errors were encountered: