[Form] refactored variable name to be more consistent with rest of the naming
This commit is contained in:
parent
6b5be0b971
commit
819fe346e0
@ -65,12 +65,12 @@ class UnmodifiableFormConfig implements FormConfigInterface
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $clientTransformers;
|
||||
private $viewTransformers;
|
||||
|
||||
/**
|
||||
* @var array
|
||||
*/
|
||||
private $normTransformers;
|
||||
private $modelTransformers;
|
||||
|
||||
/**
|
||||
* @var DataMapperInterface
|
||||
@ -142,8 +142,8 @@ class UnmodifiableFormConfig implements FormConfigInterface
|
||||
$this->virtual = $config->getVirtual();
|
||||
$this->compound = $config->getCompound();
|
||||
$this->types = $config->getTypes();
|
||||
$this->clientTransformers = $config->getViewTransformers();
|
||||
$this->normTransformers = $config->getModelTransformers();
|
||||
$this->viewTransformers = $config->getViewTransformers();
|
||||
$this->modelTransformers = $config->getModelTransformers();
|
||||
$this->dataMapper = $config->getDataMapper();
|
||||
$this->validators = $config->getValidators();
|
||||
$this->required = $config->getRequired();
|
||||
@ -225,7 +225,7 @@ class UnmodifiableFormConfig implements FormConfigInterface
|
||||
*/
|
||||
public function getViewTransformers()
|
||||
{
|
||||
return $this->clientTransformers;
|
||||
return $this->viewTransformers;
|
||||
}
|
||||
|
||||
/**
|
||||
@ -233,7 +233,7 @@ class UnmodifiableFormConfig implements FormConfigInterface
|
||||
*/
|
||||
public function getModelTransformers()
|
||||
{
|
||||
return $this->normTransformers;
|
||||
return $this->modelTransformers;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user