parse ssh config
public static parse ( [type] $contents ) : [type] | ||
$contents | [type] | |
return | [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"]); }