<?php

namespace App\Http\Controllers\Web;

use App\About;
use App\Http\Controllers\Controller;
use App\Package;
use App\Page;
use App\Photo;
use App\PhotoCategory;
use App\Product;
use App\Project;
use App\Room;
use App\Section;
use App\Service;
use App\Staff;
use Illuminate\Http\Request;

use App\User;
use Notification;
use App\Notifications\ArticlesNotification;
use App\WebsitePhoto;
use Config;
use Illuminate\View\View;
use function GuzzleHttp\Promise\all;

class ServiceController extends Controller
{
    private $view = 'web.services.';

    /**
     * Show the application dashboard.
     * @return View
     */
    public function index(): View
    {

        $services = Service::withDescription();
        $packages = Package::withDescription();
//        $services = $services->first()->descriptions;
//        foreach ($services as $service) {
//            dump($service);
//        }
//
//        dd('ok');
        return view($this->view.'index', get_defined_vars());
    }
}
