Gives the combined fieldnames a new single name
@param string $name
@return sFire\Validator\Combine
517421
public function name($name) {

		if(false === is_string($name)) {
			return trigger_error(sprintf('Argument 1 passed to %s() must be of the type string, "%s" given', __METHOD__, gettype($name)), E_USER_ERROR);
		}

		$this -> name = $name;

		return $this;
	}
835303
public function setName($name)
	{
		// Check if we need to make this an array
		$endsWithBrackets = substr_compare($name, '[]', -2, 2) === 0;
		if ($this->isAutoArray() && ! $endsWithBrackets)
		{
			$name .= '[]';
		}

		$this->itSetName($name);

		// For any children, update the name
		foreach ($this->getContents() as $item)
		{
			$item->setName($this->getName());
		}

		return $this;
	}
653631
public function setName($name)
    {
        $this->name = (string)$name;
        $this->getEntry()
             ->setName($this->name);
        return $this;
    }
787148
public function withName(string $name) : Column
    {
        if ($this->name === $name) {
            return $this;
        }

        return new self($name, $this->type, $this->isPrimaryKey);
    }
13739
public function replaceName($name)
    {
        $atoms = $this->atoms();
        $numAtoms = count($atoms);

        if ($numAtoms > 0) {
            if ('' === $name) {
                array_pop($atoms);
            } else {
                $atoms[$numAtoms - 1] = $name;
            }
        } elseif ('' !== $name) {
            $atoms[] = $name;
        }

        return $this->createPath(
            $atoms,
            $this instanceof AbsolutePathInterface,
            false
        );
    }
745000
protected function _prependPrefixToFilename($name)
    {
        $ds = DIRECTORY_SEPARATOR;
        $parts = explode($ds, $name);
        $filename = end($parts);

        if ($name === $filename
            || $filename[0] === $this->optionalDependencyPrefix) {
            return $this->optionalDependencyPrefix . $name;
        }

        return str_replace(
            $ds . $filename,
            $ds . $this->optionalDependencyPrefix . $filename,
            $name
        );
    }
563117
private function setName($name)
    {
        $this->checkName($name);

        $this->name         = $name;
        $this->singleValued = in_array($name, $this->singles);

        return $this;
    }
72736
public function add($name)
    {
        if (isset($this->indexes[$name])) {
            return $this->indexes[$name];
        }
        $this->context->getMappings();
        $index = count($this->names);
        $this->names[] = $name;
        $this->indexes[$name] = $index;
        return $index;
    }
839898
public function field($name)
    {
        if (!isset($this->fieldList[$name])) {
            $this->addField($name);
        }

        return $this->fieldList[$name];
    }
1001707
public function setName($name)
    {
        $this->name = $name;
        $this->setValue($this->form->getFieldValue($this->name));
        return $this;
    }
1240107
public function setName($name)
    {
        $xName = explode(' ', $name);
        $firstName = $xName[ 0 ];

        array_shift($xName);

        $lastName = implode(' ', $xName);

        $this->setObject('first_name', $firstName);
        $this->setObject('last_name', $lastName);

        return $this;
    }
98603
protected function nestName($name)
    {
        // Obtain Bracket Position:
        
        $bpos = strpos($name, '[');
        
        // Has Bracket?
        
        if ($bpos !== false) {
            
            // Answer Bracketed Name:
            
            return sprintf('%s[%s]%s', self::FIELD_WRAPPER, substr($name, 0, $bpos), substr($name, $bpos));
            
        } else {
            
            // Answer Regular Name:
            
            return sprintf('%s[%s]', self::FIELD_WRAPPER, $name);
            
        }
    }
1007235
public function setName($name)
    {
        $this->name = $name;

        $this->model()->setPerPageName("{$name}_{$this->model()->getPerPageName()}");

        $this->getFilter()->setName($name);

        return $this;
    }
432941
public function combine() {

		$fieldnames = func_get_args();
		$values 	= [];

		foreach($fieldnames as $fieldname) {

			if(false === is_string($fieldname)) {
				return trigger_error(sprintf('All fieldnames used in "%s"() must be of the type string, "%s" given', __METHOD__, gettype($fieldname)), E_USER_ERROR);
			}

			$values[] = $this -> getValue($fieldname, $this -> getPrefix());
		}

		$combine = new Combine();
		$combine -> setValues($values);
		$combine -> setFieldnames($fieldnames);

		$this -> combine[] = $combine;

		return $combine;
	}
901505
public function name($name = '')
    {
        if (is_array($name)) {
            return $this->names($name);
        }

        $this->names = [$name];

        return $this;
    }
1338622
public function addField(string $name) : self
    {
        // Generate field name
        $field_name = 'field_' . bin2hex(random_bytes(16));
        if (substr($name, -2) === '[]') {
            $field_name .= '[]';
        }

        // Field key must be unique
        if (isset($_SESSION[$this->key][$field_name])) {
            return $this->addField($name);
        }

        // Remove square brackets from original key (moved to generated key few lines above)
        if (substr($name, -2) === '[]') {
            $name = substr($name, 0, -2);
        }

        // Save
        $_SESSION[$this->key][$field_name] = trim($name);
        return $this;
    }
336495
public function setName($name)
    {
        if ($this->isNameValid($name) !== true) {
            throw new InvalidArgumentException('The name is not valid.');
        }

        $this->name = $name;

        return $this;
    }