original_string: public function get($className)
      {
          if (isset($this->_footprints[$className])) {
              return $this->_footprints[$className];
          }
  
          if (isset($this->_data[$className])) {
              $data = $this->_data[$className];
              $footprint = new ClassFootprint($data);
          } else {
              $footprint = new ClassFootprint();
              if (preg_match($this->_interfaceRegex, $className)) {
                  $footprint->setType(ClassFootprint::TYPE_INTERFACE);
              }
          }
          $this->addFootprint($className, $footprint);
  
          return $footprint;
      }
code: public function get($className)
      {
          if (isset($this->_footprints[$className])) {
              return $this->_footprints[$className];
          }
  
          if (isset($this->_data[$className])) {
              $data = $this->_data[$className];
              $footprint = new ClassFootprint($data);
          } else {
              $footprint = new ClassFootprint();
              if (preg_match($this->_interfaceRegex, $className)) {
                  $footprint->setType(ClassFootprint::TYPE_INTERFACE);
              }
          }
          $this->addFootprint($className, $footprint);
  
          return $footprint;
      }
code_tokens: public function get ( $ className ) { if ( isset ( $ this -> _footprints [ $ className ] ) ) { return $ this -> _footprints [ $ className ] ; } if ( isset ( $ this -> _data [ $ className ] ) ) { $ data = $ this -> _data [ $ className ] ; $ footprint = new ClassFootprint ( $ data ) ; } else { $ footprint = new ClassFootprint ( ) ; if ( preg_match ( $ this -> _interfaceRegex , $ className ) ) { $ footprint -> setType ( ClassFootprint :: TYPE_INTERFACE ) ; } } $ this -> addFootprint ( $ className , $ footprint ) ; return $ footprint ; }
docstring: Retrieve class footprint
  
  @param string $className
  @return ClassFootprint
docstring_tokens: Retrieve class footprint