Subversion Repositories php-qbpwcf

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3 liveuser 1
<?php
2
 
3
namespace React\Tests\Socket\Stub;
4
 
5
use Evenement\EventEmitter;
6
use React\Socket\ServerInterface;
7
 
8
class ServerStub extends EventEmitter implements ServerInterface
9
{
10
    public function listen($port, $host = '127.0.0.1')
11
    {
12
    }
13
 
14
    public function getPort()
15
    {
16
        return 80;
17
    }
18
 
19
    public function shutdown()
20
    {
21
    }
22
}