From 5e872d89fff583802018cc4d12e5abe03dec30cb Mon Sep 17 00:00:00 2001 From: Jeloo Date: Thu, 23 Jun 2016 22:35:11 +0300 Subject: [PATCH] Make the method abstract on the Bridhe pattern --- Structural/Bridge/Vehicle.php | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/Structural/Bridge/Vehicle.php b/Structural/Bridge/Vehicle.php index f519d70..80311e1 100644 --- a/Structural/Bridge/Vehicle.php +++ b/Structural/Bridge/Vehicle.php @@ -16,7 +16,5 @@ abstract class Vehicle $this->workShop2 = $workShop2; } - public function manufacture() - { - } + abstract public function manufacture(); }