lib/Psc/Form/ValidationPackage.php
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
                                     );
  }
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
                                     );
  }
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 ) ; }
Erstellt einen ComponentsValidator anhand des EntityFormPanels

Der FormPanel muss die Componenten schon erstellt haben sie werden mit getComponents() aus dem Formular genommen
Erstellt einen ComponentsValidator anhand des EntityFormPanels