Autoload fix

This commit is contained in:
Chris Boden 2012-05-07 19:27:39 -04:00
parent f5005d1a4e
commit 949e5119db
3 changed files with 7 additions and 10 deletions

View File

@ -17,6 +17,7 @@
"psr-0": {
"Ratchet\\Tests": "tests"
, "Ratchet": "src"
, "React": "vendor/cboden/react/src"
}
}
, "require": {
@ -32,13 +33,8 @@
, "package": {
"name": "cboden/react"
, "version": "dev-master"
, "autoload": {
"psr-0": {
"React": "src"
}
}
, "source": {
"url": "https://github.com/cboden/Ratchet.git"
"url": "git://github.com/cboden/Ratchet.git"
, "type": "git"
, "reference": "ratchet"
}

2
composer.lock generated
View File

@ -1,5 +1,5 @@
{
"hash": "9baa15e7791631e31de9c91ca4acf4b7",
"hash": "3933102e03b75b0fdf6cd460e9d3a808",
"packages": [
{
"package": "cboden/react",

View File

@ -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
*/
class IOServerComponent {
protected $loop;
protected $connections;
/**
* @var React\EventLoop\LoopInterface
*/
public $loop;
public function __construct(MessageComponentInterface $app, ServerInterface $socket, LoopInterface $loop) {
$this->loop = $loop;