for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
/**
* @author : Jagepard <[email protected]>
* @license https://mit-license.org/ MIT
*/
namespace Creational\Prototype;
class Prototype extends AbstractPrototype
{
* Increments $count when an object is cloned
* ------------------------------------------
* Инкрементирует $count при клонировании объекта
*
* @return void
public function __clone()
Prototype::$count++;
}