<commit_before><?php

if ( ! function_exists('html')) {
    /**
     * Get the HTML Builder instance.
     *
     * @return \Arcanedev\LaravelHtml\Contracts\HtmlBuilderInterface
     */
    function html()
    {
        return app(\Arcanedev\LaravelHtml\Contracts\HtmlBuilderInterface::class);
    }
}

/* ------------------------------------------------------------------------------------------------
 |  Link Helpers
 | ------------------------------------------------------------------------------------------------
 */
if ( ! function_exists('link_to')) {
    /**
     * Generate a HTML link.
     *
     * @param  string  $url
     * @param  string  $title
     * @param  array   $attributes
     * @param  bool    $secure
     * @param  bool    $escaped
     *
     * @return string
     */
    function link_to($url, $title = null, $attributes = [], $secure = null, $escaped = true)
    {
        return html()->link($url, $title, $attributes, $secure, $escaped);
    }
}

if ( ! function_exists('link_to_asset')) {
    /**
     * Generate a HTML link to an asset.
     *
     * @param  string  $url
     * @param  string  $title
     * @param  array   $attributes
     * @param  bool    $secure
     *
     * @return string
     */
    function link_to_asset($url, $title = null, $attributes = [], $secure = null)
    {
        return html()->linkAsset($url, $title, $attributes, $secure);
    }
}

if ( ! function_exists('link_to_route')) {
    /**
     * Generate a HTML link to a named route.
     *
     * @param  string  $name
     * @param  string  $title
     * @param  array   $params
     * @param  array   $attributes
     * @param  bool    $escaped
     *
     * @return string
     */
    function link_to_route($name, $title = null, $params = [], $attributes = [], $escaped = true)
    {
        return html()->linkRoute($name, $title, $params, $attributes, $escaped);
    }
}

if ( ! function_exists('link_to_action')) {
    /**
     * Generate a HTML link to a controller action.
     *
     * @param  string  $action
     * @param  string  $title
     * @param  array   $params
     * @param  array   $attributes
     * @param  bool    $escaped
     *
     * @return string
     */
    function link_to_action($action, $title = null, $params = [], $attributes = [], $escaped = true)
    {
        return html()->linkAction($action, $title, $params, $attributes, $escaped);
    }
}<commit_msg>Updating the phpdocs<commit_after><?php

if ( ! function_exists('html')) {
    /**
     * Get the HTML Builder instance.
     *
     * @return \Arcanedev\LaravelHtml\Contracts\HtmlBuilderInterface
     */
    function html()
    {
        return app(\Arcanedev\LaravelHtml\Contracts\HtmlBuilderInterface::class);
    }
}

/* ------------------------------------------------------------------------------------------------
 |  Link Helpers
 | ------------------------------------------------------------------------------------------------
 */
if ( ! function_exists('link_to')) {
    /**
     * Generate a HTML link.
     *
     * @param  string  $url
     * @param  string  $title
     * @param  array   $attributes
     * @param  bool    $secure
     * @param  bool    $escaped
     *
     * @return \Illuminate\Support\HtmlString
     */
    function link_to($url, $title = null, $attributes = [], $secure = null, $escaped = true)
    {
        return html()->link($url, $title, $attributes, $secure, $escaped);
    }
}

if ( ! function_exists('link_to_asset')) {
    /**
     * Generate a HTML link to an asset.
     *
     * @param  string  $url
     * @param  string  $title
     * @param  array   $attributes
     * @param  bool    $secure
     *
     * @return \Illuminate\Support\HtmlString
     */
    function link_to_asset($url, $title = null, $attributes = [], $secure = null)
    {
        return html()->linkAsset($url, $title, $attributes, $secure);
    }
}

if ( ! function_exists('link_to_route')) {
    /**
     * Generate a HTML link to a named route.
     *
     * @param  string  $name
     * @param  string  $title
     * @param  array   $params
     * @param  array   $attributes
     * @param  bool    $escaped
     *
     * @return \Illuminate\Support\HtmlString
     */
    function link_to_route($name, $title = null, $params = [], $attributes = [], $escaped = true)
    {
        return html()->linkRoute($name, $title, $params, $attributes, $escaped);
    }
}

if ( ! function_exists('link_to_action')) {
    /**
     * Generate a HTML link to a controller action.
     *
     * @param  string  $action
     * @param  string  $title
     * @param  array   $params
     * @param  array   $attributes
     * @param  bool    $escaped
     *
     * @return \Illuminate\Support\HtmlString
     */
    function link_to_action($action, $title = null, $params = [], $attributes = [], $escaped = true)
    {
        return html()->linkAction($action, $title, $params, $attributes, $escaped);
    }
}
{'fraction_non_alphanumeric': 0.21105934778205387, 'fraction_numerical': 0.0, 'mean_word_length': 1.7387687188019967, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 11, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2035994', 'n_tokens_mistral': 1478, 'n_tokens_neox': 1463, 'n_words': 344}