You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
348 B
22 lines
348 B
<?php |
|
|
|
namespace React\Tests\Socket\Stub; |
|
|
|
use Evenement\EventEmitter; |
|
use React\Socket\ServerInterface; |
|
|
|
class ServerStub extends EventEmitter implements ServerInterface |
|
{ |
|
public function listen($port, $host = '127.0.0.1') |
|
{ |
|
} |
|
|
|
public function getPort() |
|
{ |
|
return 80; |
|
} |
|
|
|
public function shutdown() |
|
{ |
|
} |
|
}
|
|
|