mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-09-27 23:09:13 +02:00
23 lines
333 B
PHP
23 lines
333 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Bridge;
|
|
|
|
/**
|
|
* Abstraction
|
|
*/
|
|
abstract class Vehicle {
|
|
|
|
protected $workShop1;
|
|
protected $workShop2;
|
|
|
|
protected function __construct(Workshop $workShop1, Workshop $workShop2) {
|
|
$this->workShop1 = $workShop1;
|
|
$this->workShop2 = $workShop2;
|
|
}
|
|
|
|
public function manufacture() {
|
|
|
|
}
|
|
|
|
}
|