original_string: public function import($file)
      {
          if (!file_exists($file)) {
              throw new \InvalidArgumentException("Footprint file '$file' does not exist");
          }
          $content = file_get_contents($file);
          $this->importJson($content);
      }
code: public function import($file)
      {
          if (!file_exists($file)) {
              throw new \InvalidArgumentException("Footprint file '$file' does not exist");
          }
          $content = file_get_contents($file);
          $this->importJson($content);
      }
code_tokens: public function import ( $ file ) { if ( ! file_exists ( $ file ) ) { throw new \ InvalidArgumentException ( "Footprint file '$file' does not exist" ) ; } $ content = file_get_contents ( $ file ) ; $ this -> importJson ( $ content ) ; }
docstring: Import footprints from json file
  
  @param string $file
  
  @return void
docstring_tokens: Import footprints from json file