src/Peach/Markup/HtmlHelper.php
private static function createBaseHelper($mode)
    {
        $isXhtml        = self::checkXhtmlFromMode($mode);
        $builder        = self::createBuilder($isXhtml);
        $emptyNodeNames = self::getEmptyNodeNames();
        return new BaseHelper($builder, $emptyNodeNames);
    }
private static function createBaseHelper($mode)
    {
        $isXhtml        = self::checkXhtmlFromMode($mode);
        $builder        = self::createBuilder($isXhtml);
        $emptyNodeNames = self::getEmptyNodeNames();
        return new BaseHelper($builder, $emptyNodeNames);
    }
指定されたモードに応じた BaseHelper を返します.

@param  string $mode
@return BaseHelper