mxmbsocket/lib/Ratchet/Resource/Command/CommandInterface.php
Chris Boden 47b7110dc1 Namespaces
Fixed all the namespaces to match new folder structure
2011-11-12 20:51:54 -05:00

16 lines
472 B
PHP

<?php
namespace Ratchet\Resource\Command;
use Ratchet\ObserverInterface;
/**
* Socket implementation of the Command Pattern
* User created applications are to return a Command to the server for execution
*/
interface CommandInterface {
/**
* The Server class will call the execution
* @param Ratchet\ObserverInterface Scope to execute the command under
* @return CommandInterface|NULL
*/
function execute(ObserverInterface $scope = null);
}