Blame view
app/Classes/StatusUser.php
309 Bytes
a9dfa8c95 Обновление на 7 м... |
1 2 3 4 |
<?php namespace App\Classes; |
3d021673f Коммит 1 |
5 |
use App\Models\Employer; |
a9dfa8c95 Обновление на 7 м... |
6 7 8 9 10 11 12 13 14 15 16 |
class StatusUser { public static function Status() { if (isset(Auth()->user()->id)) { $is_worker = Auth()->user()->is_worker; return $is_worker; } else { return false; } } } |