original_string: public function log($db=null)
      {
  
          if($db instanceof \PDO){
              \sb\Web\Visitors::$db=$db;
          }
  
          return \sb\Web\Visitors::log($this);
  
      }
code: public function log($db=null)
      {
  
          if($db instanceof \PDO){
              \sb\Web\Visitors::$db=$db;
          }
  
          return \sb\Web\Visitors::log($this);
  
      }
code_tokens: public function log ( $ db = null ) { if ( $ db instanceof \ PDO ) { \ sb \ Web \ Visitors :: $ db = $ db ; } return \ sb \ Web \ Visitors :: log ( $ this ) ; }
docstring: Logs a \sb\Web_Visitor in the database
  @param PDO $db Optional database connection to use for \sb\Web_Vistors
docstring_tokens: Logs a \ sb \ Web_Visitor in the database