
Separated Observable interface from Decorator interface, also separated config method to its own interface Cleaned up unit tests to reflect interface changes
12 lines
349 B
PHP
12 lines
349 B
PHP
<?php
|
|
namespace Ratchet\Application;
|
|
use Ratchet\ObserverInterface;
|
|
|
|
interface ApplicationInterface extends ObserverInterface {
|
|
/**
|
|
* Decorator pattern
|
|
* @param Ratchet\ObserverInterface Application to wrap in protocol
|
|
* @throws UnexpectedValueException
|
|
*/
|
|
public function __construct(ApplicationInterface $app = null);
|
|
} |