This commit is contained in:
Dominik Liebler
2013-09-13 14:19:55 +02:00
parent 8452c63b7e
commit 8b82ed198d
47 changed files with 93 additions and 218 deletions

View 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);
}