protected function fold($text) { if (strlen($text) <= 75) { return $text; } // split, wrap and trim trailing separator return substr(chunk_split($text, 73, "\r\n "), 0, -3); }