Ejemplo n.º 1
0
    }
    public function next()
    {
        // TODO: Implement next() method.
    }
    public function valid()
    {
        // TODO: Implement valid() method.
    }
    public function current()
    {
        // TODO: Implement current() method.
    }
    public function rewind()
    {
        // TODO: Implement rewind() method.
    }
    public function key()
    {
        // TODO: Implement key() method.
    }
}
$allClients = new UserSet();
$Client1 = new Client('qwe', '111');
$Client2 = new Client('asd', '222');
$Client3 = new Client('zxc', '111');
$allClients->add($Client1);
$allClients->add($Client2);
$allClients->add($Client3);
$allClients->checkLogin('111');