Service d'appel Symfony dans le contrôleur

$this->container->get('service_name');

// This work on for Symfony\Bundle\FrameworkBundle\Controller\Controller
// if you are using use Symfony\Bundle\FrameworkBundle\Controller\AbstractController , it would prefer to inject dependency
 public function method(User $user)
    {
        $user->callSomeMethod();
    }
MrDracoula