class ExceptionAsset in Zircon Profile 8.0
Same name and namespace in other branches
- 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\InstantiatorTestAssetView source
class ExceptionAsset 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 |
---|---|---|---|---|
ExceptionAsset:: |
public | function | Constructor - should not be called |