init
This commit is contained in:
18
vendor/react/socket/tests/Stub/ServerStub.php
vendored
Executable file
18
vendor/react/socket/tests/Stub/ServerStub.php
vendored
Executable file
@@ -0,0 +1,18 @@
|
||||
<?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()
|
||||
{
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user