original_string: public function useExtension($mib, $args) {
          $mib = '\\Cityware\\Snmp\\MIBS\\' . str_replace('_', '\\', $mib);
          $m = new $mib();
          $m->setSNMP($this);
          return $m;
      }
code: public function useExtension($mib, $args) {
          $mib = '\\Cityware\\Snmp\\MIBS\\' . str_replace('_', '\\', $mib);
          $m = new $mib();
          $m->setSNMP($this);
          return $m;
      }
code_tokens: public function useExtension ( $ mib , $ args ) { $ mib = '\\Cityware\\Snmp\\MIBS\\' . str_replace ( '_' , '\\' , $ mib ) ; $ m = new $ mib ( ) ; $ m -> setSNMP ( $ this ) ; return $ m ; }
docstring: This is the MIB Extension magic
  
  Calling $this->useXXX_YYY_ZZZ()->fn() will instantiate
  an extension MIB class is the given name and this $this SNMP
  instance and then call fn().
  
  See the examples for more information.
  
  @param string $mib The extension class to use
  @param array $args
  @return \Cityware\Snmp\MIBS
docstring_tokens: This is the MIB Extension magic