2016-06-23 23:51:08 +02:00
|
|
|
<?php
|
2016-07-14 15:15:50 +02:00
|
|
|
|
|
|
|
set_include_path(get_include_path().PATH_SEPARATOR.dirname(__FILE__).DIRECTORY_SEPARATOR.'libpy2php');
|
|
|
|
require_once 'libpy2php.php';
|
|
|
|
class chat
|
|
|
|
{
|
|
|
|
public function __construct()
|
|
|
|
{
|
2016-06-23 23:51:08 +02:00
|
|
|
$this->_users = [];
|
|
|
|
}
|
2016-07-14 15:15:50 +02:00
|
|
|
|
|
|
|
public function add_user($user)
|
|
|
|
{
|
|
|
|
$this->_users += $user;
|
2016-06-23 23:51:08 +02:00
|
|
|
}
|
|
|
|
}
|