remove Interface-Suffix

This commit is contained in:
Dominik Liebler
2019-08-19 17:28:19 +02:00
parent 963041982e
commit 9795f16c4e
3 changed files with 0 additions and 15 deletions

View File

@@ -3,15 +3,9 @@ declare(strict_types=1);
namespace DesignPatterns\Behavioral\Mediator;
/**
* Colleague is an abstract colleague who works together but he only knows
* the Mediator, not other colleagues
*/
abstract class Colleague
{
/**
* this ensures no change in subclasses.
*
* @var MediatorInterface
*/
protected $mediator;

View File

@@ -3,11 +3,6 @@ declare(strict_types=1);
namespace DesignPatterns\Behavioral\Mediator;
/**
* Mediator is the concrete Mediator for this design pattern
*
* In this example, I have made a "Hello World" with the Mediator Pattern
*/
class Mediator implements MediatorInterface
{
/**

View File

@@ -3,10 +3,6 @@ declare(strict_types=1);
namespace DesignPatterns\Behavioral\Mediator;
/**
* MediatorInterface is a contract for the Mediator
* This interface is not mandatory but it is better for Liskov substitution principle concerns.
*/
interface MediatorInterface
{
/**