original_string: private function createAddRoleScopeForm(PermissionsGroup $permissionsGroup)
      {
          return $this->createFormBuilder()
                  ->setAction($this->generateUrl('admin_permissionsgroup_add_role_scope',
                          array('id' => $permissionsGroup->getId())))
                  ->setMethod('PUT')
                  ->add('composed_role_scope', 'composed_role_scope')
                  ->add('submit', 'submit', array('label' => 'Add permission'))
                  ->getForm()
                  ;
      }
code: private function createAddRoleScopeForm(PermissionsGroup $permissionsGroup)
      {
          return $this->createFormBuilder()
                  ->setAction($this->generateUrl('admin_permissionsgroup_add_role_scope',
                          array('id' => $permissionsGroup->getId())))
                  ->setMethod('PUT')
                  ->add('composed_role_scope', 'composed_role_scope')
                  ->add('submit', 'submit', array('label' => 'Add permission'))
                  ->getForm()
                  ;
      }
code_tokens: private function createAddRoleScopeForm ( PermissionsGroup $ permissionsGroup ) { return $ this -> createFormBuilder ( ) -> setAction ( $ this -> generateUrl ( 'admin_permissionsgroup_add_role_scope' , array ( 'id' => $ permissionsGroup -> getId ( ) ) ) ) -> setMethod ( 'PUT' ) -> add ( 'composed_role_scope' , 'composed_role_scope' ) -> add ( 'submit' , 'submit' , array ( 'label' => 'Add permission' ) ) -> getForm ( ) ; }
docstring: creates a form to add a role scope to permissionsgroup
  
  @param PermissionsGroup $permissionsGroup
  @return \Symfony\Component\Form\Form The form
docstring_tokens: creates a form to add a role scope to permissionsgroup