public static function printLanguages($customView = '', $ulClass='')
    {
        return new HtmlString(
            view()->make(
                ($customView ? $customView : "vendor.languages.default"), [
                'languages' => Language::all(),
                'ulClass' => $ulClass,

                ]
            )->render()
        );
    }
public static function printLanguages($customView = '', $ulClass='')
    {
        return new HtmlString(
            view()->make(
                ($customView ? $customView : "vendor.languages.default"), [
                'languages' => Language::all(),
                'ulClass' => $ulClass,

                ]
            )->render()
        );
    }
public static function printLanguages ( $ customView = '' , $ ulClass = '' ) { return new HtmlString ( view ( ) -> make ( ( $ customView ? $ customView : "vendor.languages.default" ) , [ 'languages' => Language :: all ( ) , 'ulClass' => $ ulClass , ] ) -> render ( ) ) ; }
Print list of languages.

@param  string $customView
@param  string $ulClass
@return HtmlString
@throws \Exception
Print list of languages .