15 lines
335 B
PHP
15 lines
335 B
PHP
<?php
|
|
namespace Ratchet\Protocol;
|
|
use Ratchet\SocketObserver;
|
|
|
|
interface ProtocolInterface extends SocketObserver {
|
|
/**
|
|
* @param Ratchet\SocketObserver Application to wrap in protocol
|
|
*/
|
|
function __construct(SocketObserver $application);
|
|
|
|
/**
|
|
* @return array
|
|
*/
|
|
static function getDefaultConfig();
|
|
} |