示例#1
0
 private function parse($config)
 {
     $sshConfig = SSHConfigFile::parseString($config);
     $r = new \ReflectionObject($sshConfig);
     $property = $r->getProperty('groups');
     $property->setAccessible(true);
     return $property->getValue($sshConfig);
 }