You are here

public function FinalExceptionAsset::__construct in Zircon Profile 8

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

Constructor - should not be called

Throws

BadMethodCallException

File

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

Class

FinalExceptionAsset
Test asset that extends an internal PHP base exception

Namespace

DoctrineTest\InstantiatorTestAsset

Code

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