parse() public static méthode

parse ssh config
public static parse ( [type] $contents ) : [type]
$contents [type]
Résultat [type]
 public function testParseWithSpeceialComment()
 {
     $config = SSHConfig::parse(file_get_contents(__DIR__ . "/SSHConfigTest/ssh_config4"));
     //        print_r($config);
     $this->assertEquals("true", $config["test-server1"]["altax.ignore"]);
 }