removed ...Interface suffix and added 2nd service to Bridge example

This commit is contained in:
Dominik Liebler
2018-11-06 20:33:42 +01:00
parent b0ac02f01e
commit 617754573c
12 changed files with 145 additions and 659 deletions

View File

@@ -0,0 +1,11 @@
<?php
namespace DesignPatterns\Structural\Bridge;
class PingService extends Service
{
public function get(): string
{
return $this->implementation->format('pong');
}
}