mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-05 06:27:25 +02:00
cs
This commit is contained in:
16
FactoryMethod/VehicleInterface.php
Normal file
16
FactoryMethod/VehicleInterface.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\FactoryMethod;
|
||||
|
||||
/**
|
||||
* VehicleInterface is a contract for a vehicle
|
||||
*/
|
||||
interface VehicleInterface
|
||||
{
|
||||
/**
|
||||
* sets the color of the vehicle
|
||||
*
|
||||
* @param string $rgb
|
||||
*/
|
||||
public function setColor($rgb);
|
||||
}
|
Reference in New Issue
Block a user