mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-12 18:04:04 +02:00
reworked the Mediator pattern
This commit is contained in:
@@ -4,9 +4,5 @@ namespace DesignPatterns\Behavioral\Mediator;
|
||||
|
||||
interface Mediator
|
||||
{
|
||||
public function sendResponse(string $content);
|
||||
|
||||
public function makeRequest();
|
||||
|
||||
public function queryDb();
|
||||
public function getUser(string $username): string;
|
||||
}
|
||||
|
Reference in New Issue
Block a user