<?php
/**
* Created by PhpStorm.
* User: mike
* Date: 19/05/17
* Time: 08:36
*/
namespace App\KommaApp\Services;
use Illuminate\Contracts\View\View;
use App\KommaApp\Facades\KommaServices;
class ServicesComposer
{
/**
* Bind data to the view.
*
* @param View $view
* @return void
*/
public function compose(View $view)
{
// Return all services to view
$view->with(['services' => KommaServices::all()]);
}
}