mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 04:00:18 +02:00
start a restructure
This commit is contained in:
19
Behavioral/Mediator/Subsystem/Database.php
Normal file
19
Behavioral/Mediator/Subsystem/Database.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Mediator\Subsystem;
|
||||
|
||||
use DesignPatterns\Mediator\Colleague;
|
||||
|
||||
/**
|
||||
* Database is a database service
|
||||
*/
|
||||
class Database extends Colleague
|
||||
{
|
||||
/**
|
||||
* @return string
|
||||
*/
|
||||
public function getData()
|
||||
{
|
||||
return "World";
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user