zacharyzh
zacharyzh
I am not good at english and I will do my best to articulate.. Yestoday, I have upgrade my Symfony framework from 2.3.18 to 2.3.22. Everything is good, except my...
OptionsResolverInterface will be removed in 3.0, but FormTypeInterface.setDefaultOptions still use this expired interface. How can I use the new class (OptionsResolver) to replace it? Files: Symfony\Component\OptionsResolver\OptionsResolverInterface Symfony\Component\Form\AbstractType Symfony\Component\Form\FormTypeInterface Sorry for...
I create a kernel.request event listener like this: ``` if ($this->requestStack()->getCurrentRequest()->attributes->get('_route') != '...') { $response = $this->httpUtils->createRedirectResponse( ... ); $event->setResponse($response); } ``` There is a dead loop instead of error...
When i use this command to generate entity setters and getters: ``` ./console doctrine:generate:entities AppBundle ``` I got this message: ``` [Doctrine\DBAL\Exception\ConnectionException] An exception occured in driver: SQLSTATE[HY000] [2002] Connection...
That's my layout.html.twig: ``` {% extends '::base.html.twig' %} {% block stylesheets %} {{ parent() }} {% stylesheets 'css/src.mystyle.css' filter='?uglifycss' output='/assets/css/dist.*.css' %} {% endstylesheets %} {% endblock %} ``` It's works...
configuration: ``` yaml # security.yml providers: my_user: id: some_service_id # service.yml some_service_id: class: MyUserClass ``` I sign in with an account and remove the MyUserClass file, then an error occurs:...
My application has two parts: 1. a web app (built by Symfony) 2. a daemon (written by Python) I want all of log files are in on directory (the directory...
security.yml ``` yaml providers: ...... firewalls: admin: pattern: ^/admin/ provider: someid form_login: login_path: app_login check_path: app_login_check default_target_path: app_dashboard logout: ...... anonymous: ~ ``` routing.yml ``` yaml app_login: path: /login defaults:...
why cannot customize about this.
| Q | A | ---------------- | ----- | Bug report? | yes | Feature request? | no | BC Break report? | no | RFC? | no | Symfony...