K
K
Kiril2018-09-12 10:51:02
symfony
Kiril, 2018-09-12 10:51:02

How to overwrite controllers in FOSUserBundle?

In general, a project fell into my hands, in which FOSUserBundle fell off after the update . Currently the versions are:

  • FosUserBundle: "^2.1"
  • Synfony: "2.8.*"
4RSQW.png
namespace UserBundle;

use Symfony\Component\HttpKernel\Bundle\Bundle;

class UserBundle extends Bundle
{
    public function getParent()
    {
        return 'FOSUserBundle';
    }
}

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question