mxmbsocket/lib/Ratchet/Command/ActionInterface.php
2011-11-08 12:20:18 -05:00

19 lines
410 B
PHP

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