public function UnCloneableAsset::__clone in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/UnCloneableAsset.php \DoctrineTest\InstantiatorTestAsset\UnCloneableAsset::__clone()
Magic `__clone` - should not be invoked
Throws
BadMethodCallException
File
- vendor/
doctrine/ instantiator/ tests/ DoctrineTest/ InstantiatorTestAsset/ UnCloneableAsset.php, line 46
Class
- UnCloneableAsset
- Base un-cloneable asset
Namespace
DoctrineTest\InstantiatorTestAssetCode
public function __clone() {
throw new BadMethodCallException('Not supposed to be called!');
}