AppInterface Method Removal

Removed the construct AppInterface requirement in the construct to let applications branch out easier.  Each application can now specify its own dependancies rather than trying to rabbit hole apps.
This commit is contained in:
Chris Boden 2012-01-03 12:22:02 -07:00
parent 8d1b2548e7
commit d37237c274

View File

@ -7,12 +7,6 @@ use Ratchet\Resource\Connection;
* It impelemtns the decorator and command pattern to build an application stack * It impelemtns the decorator and command pattern to build an application stack
*/ */
interface ApplicationInterface { interface ApplicationInterface {
/**
* Decorator pattern
* @param Ratchet\ApplicationInterface Application to wrap in protocol
*/
public function __construct(ApplicationInterface $app = null);
/** /**
* When a new connection is opened it will be passed to this method * When a new connection is opened it will be passed to this method
* @param Ratchet\Resource\Connection The socket/connection that just connected to your application * @param Ratchet\Resource\Connection The socket/connection that just connected to your application