This commit is contained in:
Manish Verma
2016-12-13 18:18:25 +05:30
parent fc98add11c
commit 2d8e640e9b
2314 changed files with 97798 additions and 75664 deletions

View File

@@ -0,0 +1,21 @@
<?php
namespace App\Http\ViewComposers;
use Illuminate\View\View;
use App\Model\Update\BarNotification;
class UpdateNotification {
public function __construct() {
}
public function compose(View $view) {
$notification = new BarNotification();
$notice = $notification->where('value', '!=', '')->select('value')->get();
$view->with(['notification' => $notice]);
}
}