[Form] refactored variable name to be more consistent with rest of the naming

This commit is contained in:
Roman Marintsenko 2012-07-06 09:30:28 +03:00
parent 6b5be0b971
commit 819fe346e0

View File

@ -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;
}
/**