2013-09-13 14:34:13 +02:00
|
|
|
<?php
|
|
|
|
|
2014-04-15 22:59:59 -03:00
|
|
|
namespace DesignPatterns\Creational\Prototype;
|
2013-09-13 14:34:13 +02:00
|
|
|
|
|
|
|
class BarBookPrototype extends BookPrototype
|
|
|
|
{
|
|
|
|
/**
|
|
|
|
* @var string
|
|
|
|
*/
|
|
|
|
protected $category = 'Bar';
|
|
|
|
|
|
|
|
public function __clone()
|
|
|
|
{
|
|
|
|
}
|
|
|
|
}
|