/** * Fix line length * * @overwrite * @param string $message Message to wrap * @return array Wrapped message */ protected function _wrap($message, $wrapLength = Email::LINE_LENGTH_MUST) { if ($this->_wrapLength !== null) { $wrapLength = $this->_wrapLength; } return parent::_wrap($message, $wrapLength); }
/** * Wrap to protected method * * @param string $text * @param int $length * @return array */ public function wrap($text, $length = Email::LINE_LENGTH_MUST) { return parent::_wrap($text, $length); }