public function setName($name)
	{
		if ( ! is_string($name))
		{
			throw new \InvalidArgumentException('The name must be a string');
		}

		Arr::set($this->attributes, 'name', $name);

		return $this;
	}
public function setName($name)
	{
		if ( ! is_string($name))
		{
			throw new \InvalidArgumentException('The name must be a string');
		}

		Arr::set($this->attributes, 'name', $name);

		return $this;
	}
public function setName ( $ name ) { if ( ! is_string ( $ name ) ) { throw new \ InvalidArgumentException ( 'The name must be a string' ) ; } Arr :: set ( $ this -> attributes , 'name' , $ name ) ; return $ this ; }
Sets the name of this input

@param  string $name

@return $this

@throws \InvalidArgumentException

@since 2.0
Sets the name of this input