8 months ago

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

Posted 8 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(),

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