mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-02-25 10:12:31 +01:00
16 lines
215 B
PHP
16 lines
215 B
PHP
<?php
|
|
|
|
namespace DesignPatterns\Creational\Prototype;
|
|
|
|
class FooBookPrototype extends BookPrototype
|
|
{
|
|
/**
|
|
* @var string
|
|
*/
|
|
protected $category = 'Foo';
|
|
|
|
public function __clone()
|
|
{
|
|
}
|
|
}
|