/** * 文字列を丸める * @param string $str 対象の文字列 * @param integer $width 指定の幅 * @param string $postfix 文字列がまるめられた場合に末尾に接続される文字列 * @return string */ public function trim_width($str, $width, $postfix = '') { return \ebi\Util::trim_width($str, $width, $postfix); }