Laravel - Views - Creating The First Available View

Using the View facade's first method, you may create the first view that exists in a given array of views. This may be useful if your application or package allows views to be customized or overwritten:

    
    use Illuminate\Support\Facades\View;
    
    return View::first(['custom.admin', 'admin'], $data);