nayzo / NzoUrlEncryptorBundle

Symfony Bundle used to Encrypt and Decrypt data and variables in the Web application
MIT License
89 stars 19 forks source link

Alias do not work on controller #32

Closed Djibdjib closed 6 years ago

Djibdjib commented 6 years ago

Hi,

I'm used to use annotations system to decrypt my ID's. If i wanna make a redirection (redirectToRoute), with a encrypt function service, i have alias bug (nzo_url_encryptor)

I'm on Symfony 4.

Thx a lot for your help.

Djb

Djibdjib commented 6 years ago

I have to create an alias in my services.yaml to use UrlEncryptor in my controller

nzo_url_encryptor: class: Nzo\UrlEncryptorBundle\UrlEncryptor\UrlEncryptor public: true

Everything it's ok !

Nice work ! thx !