public function withMaxLength(int $length): self
    {
        $obj = clone $this;
        $obj->_maxLength = $length;
        return $obj;
    }
public function withMaxLength(int $length): self
    {
        $obj = clone $this;
        $obj->_maxLength = $length;
        return $obj;
    }
public function withMaxLength ( int $ length ) : self { $ obj = clone $ this ; $ obj -> _maxLength = $ length ; return $ obj ; }
Get self with maximum path length.

@param int $length
@return self
Get self with maximum path length .