main/core/Manager/FacetManager.php
public function editField(FieldFacet $fieldFacet, $name, $isRequired, $type)
    {
        $fieldFacet->setLabel($name);
        $fieldFacet->setType($type);
        $fieldFacet->setRequired($isRequired);
        $this->om->persist($fieldFacet);
        $this->om->flush();

        return $fieldFacet;
    }
public function editField(FieldFacet $fieldFacet, $name, $isRequired, $type)
    {
        $fieldFacet->setLabel($name);
        $fieldFacet->setType($type);
        $fieldFacet->setRequired($isRequired);
        $this->om->persist($fieldFacet);
        $this->om->flush();

        return $fieldFacet;
    }
public function editField ( FieldFacet $ fieldFacet , $ name , $ isRequired , $ type ) { $ fieldFacet -> setLabel ( $ name ) ; $ fieldFacet -> setType ( $ type ) ; $ fieldFacet -> setRequired ( $ isRequired ) ; $ this -> om -> persist ( $ fieldFacet ) ; $ this -> om -> flush ( ) ; return $ fieldFacet ; }
Used by clacoform manager.

@deprecated
Used by clacoform manager .