src/FieldHandlers/CsvField.php
public function setName(string $name) : void
    {
        if (empty($name)) {
            throw new InvalidArgumentException('Empty field name is not allowed');
        }

        $this->_name = $name;
    }
public function setName(string $name) : void
    {
        if (empty($name)) {
            throw new InvalidArgumentException('Empty field name is not allowed');
        }

        $this->_name = $name;
    }
public function setName ( string $ name ) : void { if ( empty ( $ name ) ) { throw new InvalidArgumentException ( 'Empty field name is not allowed' ) ; } $ this -> _name = $ name ; }
Set field name

@throws \InvalidArgumentException when name is empty
@param string $name field name
@return void
Set field name