public function __construct($fieldName, $fieldType, $target) { $this->fieldName = $fieldName; $this->fieldType = $fieldType; $this->target = $target; }