Symfony2 get Firewall name
PHP |
https://codedump.io/share/unA0SxVxuP9v
|
If you have two separated user areas with different firewall names and you need to know which firewall name is used for the current user, you can get ...
5 years ago
Symfony2 logout user
PHP |
https://codedump.io/share/gGXv3Cv8q4H
|
This code is an example of how to logout a user in Symfony2.
5 years ago
slugify in MYSQL
SQL |
https://codedump.io/share/rxRhuEfntuSM
|
Stored procedure to create a slug in MySQL
5 years ago
Disable error output in Symfony2
PHP |
https://codedump.io/share/jUlKacmf7fNE
|
Want to disable error output to the screen on a production environment in Symfony2? Use this code!
5 years ago
Symfony2 service
PHP |
https://codedump.io/share/gNSoRoZR9V3x
|
This example shows how to create a Symfony2 service that injects the entity manager into the class
5 years ago