public function setDelimiter($delimiter)
    {
        if (!is_string($delimiter) || strlen($delimiter) < 1) {
            throw new \InvalidArgumentException("Invalid delimiter specified, must be a string at least 1 character long");
        }

        $this->delimiter = $delimiter;

        return $this;
    }
public function setDelimiter($delimiter)
    {
        if (!is_string($delimiter) || strlen($delimiter) < 1) {
            throw new \InvalidArgumentException("Invalid delimiter specified, must be a string at least 1 character long");
        }

        $this->delimiter = $delimiter;

        return $this;
    }
public function setDelimiter ( $ delimiter ) { if ( ! is_string ( $ delimiter ) || strlen ( $ delimiter ) < 1 ) { throw new \ InvalidArgumentException ( "Invalid delimiter specified, must be a string at least 1 character long" ) ; } $ this -> delimiter = $ delimiter ; return $ this ; }
Set the character to use for delimitation.

@param string $delimiter The character to use for delimitation

@return static
Set the character to use for delimitation .