mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-07-31 20:20:15 +02:00
PHP7 Bridge
This commit is contained in:
11
Structural/Bridge/HelloWorldService.php
Normal file
11
Structural/Bridge/HelloWorldService.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Structural\Bridge;
|
||||
|
||||
class HelloWorldService extends Service
|
||||
{
|
||||
public function get()
|
||||
{
|
||||
return $this->implementation->format('Hello World');
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user