original_string: protected function getCookieExpirationDate()
      {
          if (!empty($this->config['expire_on_close'])) {
              $expirationDate = 0;
          } else {
              $expirationDate = Carbon::now()->addMinutes(5 * 60);
          }
          return $expirationDate;
      }
code: protected function getCookieExpirationDate()
      {
          if (!empty($this->config['expire_on_close'])) {
              $expirationDate = 0;
          } else {
              $expirationDate = Carbon::now()->addMinutes(5 * 60);
          }
          return $expirationDate;
      }
code_tokens: protected function getCookieExpirationDate ( ) { if ( ! empty ( $ this -> config [ 'expire_on_close' ] ) ) { $ expirationDate = 0 ; } else { $ expirationDate = Carbon :: now ( ) -> addMinutes ( 5 * 60 ) ; } return $ expirationDate ; }
docstring: Get the session lifetime in seconds.
  
  @return \DateTimeInterface|int
docstring_tokens: Get the session lifetime in seconds .