refactoring, added rooms api

This commit is contained in:
xinatorus
2020-05-12 19:41:46 +02:00
parent 3981d9551d
commit c2203b452a
20 changed files with 18 additions and 2 deletions

View File

@@ -0,0 +1,18 @@
<?php
/**
*
*/
class NetvorkManager
{
function __construct()
{
// code...
}
function validateIp($ip = '0.0.0.0'){
if (!filter_var($ip, FILTER_VALIDATE_IP)){
return false;
}
}
}