public function getUserBag()
    {
        $userBag = new UserBag();
        $userBag->setLogin($this->cookieBag->get(self::CLIENT_LOGIN_KEY))
                ->setPasswordHash($this->cookieBag->get(self::CLIENT_LOGIN_PASSWORD_HASH_KEY));

        return $userBag;
    }
public function getUserBag()
    {
        $userBag = new UserBag();
        $userBag->setLogin($this->cookieBag->get(self::CLIENT_LOGIN_KEY))
                ->setPasswordHash($this->cookieBag->get(self::CLIENT_LOGIN_PASSWORD_HASH_KEY));

        return $userBag;
    }
public function getUserBag ( ) { $ userBag = new UserBag ( ) ; $ userBag -> setLogin ( $ this -> cookieBag -> get ( self :: CLIENT_LOGIN_KEY ) ) -> setPasswordHash ( $ this -> cookieBag -> get ( self :: CLIENT_LOGIN_PASSWORD_HASH_KEY ) ) ; return $ userBag ; }
Returns user bag

@return \Krystal\Authentication\Cookie\UserBag
Returns user bag