Your IP : 3.15.138.214


Current Path : /home/lentoinv/test.api.lentoria.com/vendor/laravel/framework/src/Illuminate/View/
Upload File :
Current File : /home/lentoinv/test.api.lentoria.com/vendor/laravel/framework/src/Illuminate/View/ViewName.php

<?php

namespace Illuminate\View;

class ViewName
{
    /**
     * Normalize the given view name.
     *
     * @param  string  $name
     * @return string
     */
    public static function normalize($name)
    {
        $delimiter = ViewFinderInterface::HINT_PATH_DELIMITER;

        if (! str_contains($name, $delimiter)) {
            return str_replace('/', '.', $name);
        }

        [$namespace, $name] = explode($delimiter, $name);

        return $namespace.$delimiter.str_replace('/', '.', $name);
    }
}

?>