PHP7 Prototype

This commit is contained in:
Dominik Liebler
2016-09-22 14:56:44 +02:00
parent 61a6f03f04
commit f4c9af503b
6 changed files with 37 additions and 44 deletions

View File

@@ -4,11 +4,11 @@ namespace DesignPatterns\Creational\Prototype;
class FooBookPrototype extends BookPrototype
{
/**
* @var string
*/
protected $category = 'Foo';
/**
* empty clone.
*/
public function __clone()
{
}