You are here

public function PharExceptionAsset::__construct in Zircon Profile 8

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

Constructor - should not be called

Throws

BadMethodCallException

File

vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/PharExceptionAsset.php, line 40

Class

PharExceptionAsset
Test asset that extends an internal PHP class This class should be serializable without problems and without getting the "Erroneous data format for unserializing" error

Namespace

DoctrineTest\InstantiatorTestAsset

Code

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