protected function getCookieExpirationDate()
    {
        if (!empty($this->config['expire_on_close'])) {
            $expirationDate = 0;
        } else {
            $expirationDate = Carbon::now()->addMinutes(5 * 60);
        }
        return $expirationDate;
    }
protected function getCookieExpirationDate()
    {
        if (!empty($this->config['expire_on_close'])) {
            $expirationDate = 0;
        } else {
            $expirationDate = Carbon::now()->addMinutes(5 * 60);
        }
        return $expirationDate;
    }
protected function getCookieExpirationDate ( ) { if ( ! empty ( $ this -> config [ 'expire_on_close' ] ) ) { $ expirationDate = 0 ; } else { $ expirationDate = Carbon :: now ( ) -> addMinutes ( 5 * 60 ) ; } return $ expirationDate ; }
Get the session lifetime in seconds.

@return \DateTimeInterface|int
Get the session lifetime in seconds .