Skip to content

Commit 9795f16

Browse files
author
Dominik Liebler
committed
remove Interface-Suffix
1 parent 9630419 commit 9795f16

File tree

3 files changed

+0
-15
lines changed

3 files changed

+0
-15
lines changed

Behavioral/Mediator/Colleague.php

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,9 @@
33

44
namespace DesignPatterns\Behavioral\Mediator;
55

6-
/**
7-
* Colleague is an abstract colleague who works together but he only knows
8-
* the Mediator, not other colleagues
9-
*/
106
abstract class Colleague
117
{
128
/**
13-
* this ensures no change in subclasses.
14-
*
159
* @var MediatorInterface
1610
*/
1711
protected $mediator;

Behavioral/Mediator/Mediator.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,6 @@
33

44
namespace DesignPatterns\Behavioral\Mediator;
55

6-
/**
7-
* Mediator is the concrete Mediator for this design pattern
8-
*
9-
* In this example, I have made a "Hello World" with the Mediator Pattern
10-
*/
116
class Mediator implements MediatorInterface
127
{
138
/**

Behavioral/Mediator/MediatorInterface.php

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,6 @@
33

44
namespace DesignPatterns\Behavioral\Mediator;
55

6-
/**
7-
* MediatorInterface is a contract for the Mediator
8-
* This interface is not mandatory but it is better for Liskov substitution principle concerns.
9-
*/
106
interface MediatorInterface
117
{
128
/**

0 commit comments

Comments
 (0)