mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-24 01:32:22 +01:00
24 lines
370 B
PHP
24 lines
370 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Structural\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()
|
|
{
|
|
}
|
|
}
|