You are here

public function UnCloneableAsset::__clone in Zircon Profile 8

Same name and namespace in other branches
  1. 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\InstantiatorTestAsset

Code

public function __clone() {
  throw new BadMethodCallException('Not supposed to be called!');
}