mxmbsocket/lib/Ratchet/Resource/Command/ActionInterface.php
Chris Boden f3c7dd4d7f Socket Proxy
Replaced passing SocketInterface everywhere with a proxy object
2011-11-14 15:56:30 -05:00

19 lines
427 B
PHP

<?php
namespace Ratchet\Resource\Command;
use Ratchet\Resource\Connection;
/**
* A single command tied to 1 socket connection
*/
interface ActionInterface extends CommandInterface {
/**
* Pass the Sockets to execute the command on
* @param Ratchet\Resource\Connection
*/
function __construct(Connection $conn);
/**
* @return Ratchet\Command\Connection
*/
function getConnection();
}