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