for testing and deploying your application
for finding and fixing issues
for empowering human code reviews
<?php
namespace DoctrineTest\InstantiatorTestAsset;
use BadMethodCallException;
/**
* Base un-cloneable asset
*/
class UnCloneableAsset
{
* Constructor - should not be called
*
* @throws BadMethodCallException
public function __construct()
throw new BadMethodCallException('Not supposed to be called!');
}
* Magic `__clone` - should not be invoked
public function __clone()