original_string: public function createComponentsValidator(FormData $requestData, EntityFormPanel $panel, DCPackage $dc, Array $components = NULL) {
      $this->validationEntity = $entity = $panel->getEntityForm()->getEntity();
      
      $components = isset($components) ? Code::castCollection($components) : $panel->getEntityForm()->getComponents();
      
      return $this->componentsValidator =
                new ComponentsValidator($this->createFormDataSet($requestData, $panel, $entity),
                                        $components,
                                        $this->componentRuleMapper
                                       );
    }
code: public function createComponentsValidator(FormData $requestData, EntityFormPanel $panel, DCPackage $dc, Array $components = NULL) {
      $this->validationEntity = $entity = $panel->getEntityForm()->getEntity();
      
      $components = isset($components) ? Code::castCollection($components) : $panel->getEntityForm()->getComponents();
      
      return $this->componentsValidator =
                new ComponentsValidator($this->createFormDataSet($requestData, $panel, $entity),
                                        $components,
                                        $this->componentRuleMapper
                                       );
    }
code_tokens: public function createComponentsValidator ( FormData $ requestData , EntityFormPanel $ panel , DCPackage $ dc , Array $ components = NULL ) { $ this -> validationEntity = $ entity = $ panel -> getEntityForm ( ) -> getEntity ( ) ; $ components = isset ( $ components ) ? Code :: castCollection ( $ components ) : $ panel -> getEntityForm ( ) -> getComponents ( ) ; return $ this -> componentsValidator = new ComponentsValidator ( $ this -> createFormDataSet ( $ requestData , $ panel , $ entity ) , $ components , $ this -> componentRuleMapper ) ; }
docstring: Erstellt einen ComponentsValidator anhand des EntityFormPanels
  
  Der FormPanel muss die Componenten schon erstellt haben sie werden mit getComponents() aus dem Formular genommen
docstring_tokens: Erstellt einen ComponentsValidator anhand des EntityFormPanels