src/Console/OptimizeCommand.php
protected function compileViews(): void
    {
        foreach ($this->laravel['view']->getFinder()->getPaths() as $path) {
            $this->compileViewsInPath($path);
        }
    }
protected function compileViews(): void
    {
        foreach ($this->laravel['view']->getFinder()->getPaths() as $path) {
            $this->compileViewsInPath($path);
        }
    }
Compile all view files.

@return void