Example #1
0
 function auth($k = '')
 {
     $user = \Boofw\Phpole\App\Auth::user();
     if ($k) {
         return array_get($user, $k);
     }
     return $user;
 }