original_string: public function analyze_php(string $file): array
    {
      $res = [];
      $php = file_get_contents($file);
      if ( $tmp = \Gettext\Translations::fromPhpCodeString($php, [
        'functions' => ['_' => 'gettext'],
        'file' => $file
        ]) ){
        foreach ( $tmp->getIterator() as $r => $tr ){
          $res[] = $tr->getOriginal();
        }
        $this->parser->mergeWith($tmp);
      }
      return array_unique($res);
    }
code: public function analyze_php(string $file): array
    {
      $res = [];
      $php = file_get_contents($file);
      if ( $tmp = \Gettext\Translations::fromPhpCodeString($php, [
        'functions' => ['_' => 'gettext'],
        'file' => $file
        ]) ){
        foreach ( $tmp->getIterator() as $r => $tr ){
          $res[] = $tr->getOriginal();
        }
        $this->parser->mergeWith($tmp);
      }
      return array_unique($res);
    }
code_tokens: public function analyze_php ( string $ file ) : array { $ res = [ ] ; $ php = file_get_contents ( $ file ) ; if ( $ tmp = \ Gettext \ Translations :: fromPhpCodeString ( $ php , [ 'functions' => [ '_' => 'gettext' ] , 'file' => $ file ] ) ) { foreach ( $ tmp -> getIterator ( ) as $ r => $ tr ) { $ res [ ] = $ tr -> getOriginal ( ) ; } $ this -> parser -> mergeWith ( $ tmp ) ; } return array_unique ( $ res ) ; }
docstring: Returns the strings contained in the given php file
  
  @param string $file
  @return array
docstring_tokens: Returns the strings contained in the given php file