public function wordWrap($length, $break = "\n", $cut = false)
    {
        if (!$this->isNumber($length)) {
            throw new StringObjectException(StringObjectException::MSG_INVALID_ARG, [
                '$length',
                'integer'
            ]);
        }

        if (!$this->isString($break)) {
            throw new StringObjectException(StringObjectException::MSG_INVALID_ARG, [
                '$break',
                'string'
            ]);
        }

        if (!$this->isBool($cut)) {
            throw new StringObjectException(StringObjectException::MSG_INVALID_ARG, [
                '$cut',
                'boolean'
            ]);
        }
        $this->val(wordwrap($this->val(), $length, $break, $cut));

        return $this;
    }