denyAccessUnlessGranted('IS_AUTHENTICATED_FULLY'); if (!$user->getCompany()) { return $this->redirectToRoute('app_register_step', ['step' => RegistrationController::REGISTER_STEP_TWO]); } return $this->render( 'internal/dashboard.html.twig', [ 'user' => $user ] ); } }