Autoload fix
This commit is contained in:
parent
f5005d1a4e
commit
949e5119db
@ -17,6 +17,7 @@
|
|||||||
"psr-0": {
|
"psr-0": {
|
||||||
"Ratchet\\Tests": "tests"
|
"Ratchet\\Tests": "tests"
|
||||||
, "Ratchet": "src"
|
, "Ratchet": "src"
|
||||||
|
, "React": "vendor/cboden/react/src"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
, "require": {
|
, "require": {
|
||||||
@ -32,13 +33,8 @@
|
|||||||
, "package": {
|
, "package": {
|
||||||
"name": "cboden/react"
|
"name": "cboden/react"
|
||||||
, "version": "dev-master"
|
, "version": "dev-master"
|
||||||
, "autoload": {
|
|
||||||
"psr-0": {
|
|
||||||
"React": "src"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
, "source": {
|
, "source": {
|
||||||
"url": "https://github.com/cboden/Ratchet.git"
|
"url": "git://github.com/cboden/Ratchet.git"
|
||||||
, "type": "git"
|
, "type": "git"
|
||||||
, "reference": "ratchet"
|
, "reference": "ratchet"
|
||||||
}
|
}
|
||||||
|
2
composer.lock
generated
2
composer.lock
generated
@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
"hash": "9baa15e7791631e31de9c91ca4acf4b7",
|
"hash": "3933102e03b75b0fdf6cd460e9d3a808",
|
||||||
"packages": [
|
"packages": [
|
||||||
{
|
{
|
||||||
"package": "cboden/react",
|
"package": "cboden/react",
|
||||||
|
@ -11,9 +11,10 @@ use React\Socket\Server as Reactor;
|
|||||||
* Creates an open-ended socket to listen on a port for incomming connections. Events are delegated through this to attached applications
|
* Creates an open-ended socket to listen on a port for incomming connections. Events are delegated through this to attached applications
|
||||||
*/
|
*/
|
||||||
class IOServerComponent {
|
class IOServerComponent {
|
||||||
protected $loop;
|
/**
|
||||||
|
* @var React\EventLoop\LoopInterface
|
||||||
protected $connections;
|
*/
|
||||||
|
public $loop;
|
||||||
|
|
||||||
public function __construct(MessageComponentInterface $app, ServerInterface $socket, LoopInterface $loop) {
|
public function __construct(MessageComponentInterface $app, ServerInterface $socket, LoopInterface $loop) {
|
||||||
$this->loop = $loop;
|
$this->loop = $loop;
|
||||||
|
Loading…
Reference in New Issue
Block a user