mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-05-21 14:00:07 +02:00
20 lines
276 B
PHP
20 lines
276 B
PHP
<?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";
|
|
}
|
|
}
|