'Symfony PUGX Bundle - Passing custom variables

I use PUGX Bundle for managing my users.

I want simply pass to the registration template, somes custom variables, but I don't know how to do !

Here the code of the controller :

/**
* @Route("/register", name="company_registration")
*/
public function registrationCompanyAction(Request $request)
{

     return $this->container
        ->get('pugx_multi_user.registration_manager')
        ->register('AppBundle\Entity\Company');
}

Where can I do ?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source