What does double colon :: mean in view()?

Posted 3 months ago by MartinZeltin

I came across an interesting syntax when looking at the Laravel Telescope source code. I noticed a double colon in view. And I couldn't find anything about it in the Docs. What does double colon mean and how does it work?

I see that the layout view is located in telescope/resources/views/layout.blade.php

public function index()
    {
        return view('telescope::layout', [
            'cssFile' => Telescope::$useDarkTheme ? 'app-dark.css' : 'app.css',
            'telescopeScriptVariables' => Telescope::scriptVariables(),
        ]);
    }

https://github.com/laravel/telescope/blob/2.0/src/Http/Controllers/HomeController.php

Please sign in or create an account to participate in this conversation.