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

18 lines
377 B
PHP

<?php
namespace Ratchet\Resource\Command;
use Ratchet\Resource\Connection;
abstract class ActionTemplate implements ActionInterface {
/**
* @var Ratchet\Resource\Connection
*/
protected $_conn;
public function __construct(Connection $conn) {
$this->_conn = $conn;
}
public function getConnection() {
return $this->_conn;
}
}