19 lines
292 B
PHP
Executable File
19 lines
292 B
PHP
Executable File
<?php
|
|
|
|
namespace React\Tests\Socket\Stub;
|
|
|
|
use Evenement\EventEmitter;
|
|
use React\Socket\ServerInterface;
|
|
|
|
class ServerStub extends EventEmitter implements ServerInterface
|
|
{
|
|
public function getAddress()
|
|
{
|
|
return '127.0.0.1:80';
|
|
}
|
|
|
|
public function close()
|
|
{
|
|
}
|
|
}
|