public static function single($name, $ip, AuthMethod $authMethod) { $inventory = new Inventory(); $inventory->addHost($name, $ip, $authMethod); return $inventory; }
public static function single($name, $ip, AuthMethod $authMethod, $group = 'default') { $inventory = new Inventory(); $inventory->addHost($name, $ip, $authMethod, $group); return $inventory; }