mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-30 19:50:12 +02:00
removed ...Interface suffix and added 2nd service to Bridge example
This commit is contained in:
11
Structural/Bridge/PingService.php
Normal file
11
Structural/Bridge/PingService.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Structural\Bridge;
|
||||
|
||||
class PingService extends Service
|
||||
{
|
||||
public function get(): string
|
||||
{
|
||||
return $this->implementation->format('pong');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user