You are here

class ExceptionAsset 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

Test asset that extends an internal PHP base exception

@author Marco Pivetta <ocramius@gmail.com>

Hierarchy

  • class \DoctrineTest\InstantiatorTestAsset\ExceptionAsset extends \Exception

Expanded class hierarchy of ExceptionAsset

File

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

Namespace

DoctrineTest\InstantiatorTestAsset
View source
class ExceptionAsset 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
ExceptionAsset::__construct public function Constructor - should not be called