parse() public static method

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