Controller plugins - SamuelPouzet/auth GitHub Wiki

  • getCurrentUser() Returns the connected user if connected, null if not

  • getUser(int $userid) Returns the user whose id is passed to parameter

  • getForm(string $interface) Returns an instance of the form linked to this interface in the form_resolver config