mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-29 07:49:09 +02:00
Implemented Bridge Pattern
This commit is contained in:
14
Bridge/Produce.php
Normal file
14
Bridge/Produce.php
Normal file
@@ -0,0 +1,14 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Bridge;
|
||||
|
||||
/**
|
||||
* Concrete Implementation
|
||||
*/
|
||||
class Produce implements Workshop {
|
||||
|
||||
public function work() {
|
||||
print 'Produced ';
|
||||
}
|
||||
|
||||
}
|
Reference in New Issue
Block a user