You are here

final class FinalExceptionAsset 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

Test asset that extends an internal PHP base exception

@author Marco Pivetta <ocramius@gmail.com>

Hierarchy

Expanded class hierarchy of FinalExceptionAsset

File

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

Namespace

DoctrineTest\InstantiatorTestAsset
View source
final class FinalExceptionAsset extends Exception {

  /**
   * Constructor - should not be called
   *
   * @throws BadMethodCallException
   */
  public function __construct() {
    throw new BadMethodCallException('Not supposed to be called!');
  }

}

Members

Namesort descending Modifiers Type Description Overrides
FinalExceptionAsset::__construct public function Constructor - should not be called