function addfieldconfigurer(callable $configurer, $fieldtypes = null) {
		$fieldtypes != null or $fieldtypes = 'field';
		is_array($fieldtypes) or $fieldtypes = [$fieldtypes];

		foreach ($fieldtypes as $fieldtype) {
			$this->fieldconfigurers[$fieldtype] = $configurer;
		}

		return $this;
	}
function addfieldconfigurer(callable $configurer, $fieldtypes = null) {
		$fieldtypes != null or $fieldtypes = 'field';
		is_array($fieldtypes) or $fieldtypes = [$fieldtypes];

		foreach ($fieldtypes as $fieldtype) {
			$this->fieldconfigurers[$fieldtype] = $configurer;
		}

		return $this;
	}
function addfieldconfigurer ( callable $ configurer , $ fieldtypes = null ) { $ fieldtypes != null or $ fieldtypes = 'field' ; is_array ( $ fieldtypes ) or $ fieldtypes = [ $ fieldtypes ] ; foreach ( $ fieldtypes as $ fieldtype ) { $ this -> fieldconfigurers [ $ fieldtype ] = $ configurer ; } return $ this ; }
Adds a configurer to the field. The configurer is called by the fields
during rendering. The configurer is primarily used for formatting.

If fieldtype is null the configurer will apply to all fields in the
absence of a specialized configurer.

@return static $this
Adds a configurer to the field . The configurer is called by the fields during rendering . The configurer is primarily used for formatting .