mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 16:36:37 +02:00
cs Iterator & Mediator
This commit is contained in:
@@ -1,9 +1,5 @@
|
||||
<?php
|
||||
|
||||
/*
|
||||
* DesignPatternPHP
|
||||
*/
|
||||
|
||||
namespace DesignPatterns\Mediator;
|
||||
|
||||
/**
|
||||
@@ -12,10 +8,20 @@ namespace DesignPatterns\Mediator;
|
||||
*/
|
||||
interface MediatorInterface
|
||||
{
|
||||
|
||||
/**
|
||||
* sends the response
|
||||
*
|
||||
* @param string $content
|
||||
*/
|
||||
function sendResponse($content);
|
||||
|
||||
/**
|
||||
* makes a request
|
||||
*/
|
||||
function makeRequest();
|
||||
|
||||
/**
|
||||
* queries the DB
|
||||
*/
|
||||
function queryDb();
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user