mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-25 22:09:23 +02:00
21 lines
323 B
PHP
21 lines
323 B
PHP
<?php
|
|
|
|
/*
|
|
* DesignPatternPHP
|
|
*/
|
|
|
|
namespace DesignPatterns\Mediator;
|
|
|
|
/**
|
|
* MediatorInterface is a contract for the Mediator
|
|
* This interface is not mandatory but it is better for LSP concerns
|
|
*/
|
|
interface MediatorInterface
|
|
{
|
|
|
|
function sendResponse($content);
|
|
|
|
function makeRequest();
|
|
|
|
function queryDb();
|
|
} |