Example #1
0
 /**
  * set session
  */
 public function setSession(\Users $user)
 {
     Session::set('auth', array('id' => $user->getId()));
 }
Example #2
0
 protected function _setIsAuthenticatedAdmin($b)
 {
     $a = Session::get('auth');
     $a['admin'] = $b;
     Session::set('auth', $a);
 }