mirror of
https://github.com/DesignPatternsPHP/DesignPatternsPHP.git
synced 2025-06-09 23:45:05 +02:00
15 lines
213 B
PHP
15 lines
213 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
namespace DesignPatterns\Creational\Prototype;
|
|
|
|
class FooBookPrototype extends BookPrototype
|
|
{
|
|
protected string $category = 'Foo';
|
|
|
|
public function __clone()
|
|
{
|
|
}
|
|
}
|