mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-08-09 00:16:32 +02:00
start a restructure
This commit is contained in:
19
Creational/Prototype/FooBookPrototype.php
Normal file
19
Creational/Prototype/FooBookPrototype.php
Normal file
@@ -0,0 +1,19 @@
|
||||
<?php
|
||||
|
||||
namespace DesignPatterns\Prototype;
|
||||
|
||||
/**
|
||||
* Class FooBookPrototype
|
||||
*/
|
||||
class FooBookPrototype extends BookPrototype
|
||||
{
|
||||
protected $category = 'Foo';
|
||||
|
||||
/**
|
||||
* empty clone
|
||||
*/
|
||||
public function __clone()
|
||||
{
|
||||
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user