for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
declare(strict_types=1);
/**
* @author : Korotkov Danila <[email protected]>
* @license https://mit-license.org/ MIT
*/
namespace Creational\Prototype;
* Class AbstractPrototype
* @package Creational\Prototype
abstract class AbstractPrototype
{
* @var int
public static $count = 0;
abstract public function __clone();
* @return mixed
public function getPrototype(): AbstractPrototype
return clone $this;
}