mxmbsocket/lib/Ratchet/Command/CommandInterface.php
Chris Boden 3127efc981 Cleanup
Removed redundant Interfaces
Removed a number of unused methods
2011-11-01 09:52:41 -04:00

20 lines
474 B
PHP

<?php
namespace Ratchet\Command;
use Ratchet\SocketCollection;
/**
* Socket implementation of the Command Pattern
* User created applications are to return a Command to the server for execution
* @todo Bad format - very limited
*/
interface CommandInterface {
/**
* Pass the Sockets to execute the command on
*/
function __construct(SocketCollection $sockets);
/**
* The Server class will call the execution
*/
function execute();
}