From d37237c274e08f3686a324320a9c1445e6d55191 Mon Sep 17 00:00:00 2001 From: Chris Boden Date: Tue, 3 Jan 2012 12:22:02 -0700 Subject: [PATCH] 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. --- lib/Ratchet/Application/ApplicationInterface.php | 6 ------ 1 file changed, 6 deletions(-) diff --git a/lib/Ratchet/Application/ApplicationInterface.php b/lib/Ratchet/Application/ApplicationInterface.php index 4c0c919..6d964cb 100644 --- a/lib/Ratchet/Application/ApplicationInterface.php +++ b/lib/Ratchet/Application/ApplicationInterface.php @@ -7,12 +7,6 @@ use Ratchet\Resource\Connection; * It impelemtns the decorator and command pattern to build an application stack */ 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 * @param Ratchet\Resource\Connection The socket/connection that just connected to your application