@Test public void parse_file() throws Exception { PhpFile file = FileTestUtils.getFile(new File("src/test/resources/phpini/php.ini")); PhpIniFile phpIni = new PhpIniParser().parse(file); assertThat(phpIni.directives()).hasSize(1); assertThat(phpIni.directives().get(0).name().text()).isEqualTo("max_execution_time"); }
public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); } }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  PhpIniFile parse(PhpFile file); PhpIniFile parse(String content); }
PhpIniParser { public PhpIniFile parse(PhpFile file) { return parse(file.contents()); }  PhpIniFile parse(PhpFile file); PhpIniFile parse(String content);  }