You are here

public function ExceptionAsset::__construct in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/ExceptionAsset.php \DoctrineTest\InstantiatorTestAsset\ExceptionAsset::__construct()

Constructor - should not be called

Throws

BadMethodCallException

File

vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/ExceptionAsset.php, line 37

Class

ExceptionAsset
Test asset that extends an internal PHP base exception

Namespace

DoctrineTest\InstantiatorTestAsset

Code

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