final class FinalExceptionAsset in Zircon Profile 8
Same name and namespace in other branches
- 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
- class \DoctrineTest\InstantiatorTestAsset\FinalExceptionAsset extends \Exception
Expanded class hierarchy of FinalExceptionAsset
File
- vendor/
doctrine/ instantiator/ tests/ DoctrineTest/ InstantiatorTestAsset/ FinalExceptionAsset.php, line 30
Namespace
DoctrineTest\InstantiatorTestAssetView 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
Name | Modifiers | Type | Description | Overrides |
---|---|---|---|---|
FinalExceptionAsset:: |
public | function | Constructor - should not be called |