original_string: public function getVisitsCountFromCurrentIP($timeWindow)
      {
          $timeWindow = (int) $timeWindow;
          $ipControlLog = $this->app->make(IPControlLog::class);
  
          return $ipControlLog->countVisits('api', new DateTime("-$timeWindow seconds"));
      }
code: public function getVisitsCountFromCurrentIP($timeWindow)
      {
          $timeWindow = (int) $timeWindow;
          $ipControlLog = $this->app->make(IPControlLog::class);
  
          return $ipControlLog->countVisits('api', new DateTime("-$timeWindow seconds"));
      }
code_tokens: public function getVisitsCountFromCurrentIP ( $ timeWindow ) { $ timeWindow = ( int ) $ timeWindow ; $ ipControlLog = $ this -> app -> make ( IPControlLog :: class ) ; return $ ipControlLog -> countVisits ( 'api' , new DateTime ( "-$timeWindow seconds" ) ) ; }
docstring: Get the number of visits from the current IP address since a determined number of seconds ago.
  
  @param int $timeWindow
  
  @return int
docstring_tokens: Get the number of visits from the current IP address since a determined number of seconds ago .