You are here

class PharExceptionAsset in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/doctrine/instantiator/tests/DoctrineTest/InstantiatorTestAsset/PharExceptionAsset.php \DoctrineTest\InstantiatorTestAsset\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

@author Marco Pivetta <ocramius@gmail.com>

Hierarchy

Expanded class hierarchy of PharExceptionAsset

File

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

Namespace

DoctrineTest\InstantiatorTestAsset
View source
class PharExceptionAsset extends PharException {

  /**
   * 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
PharExceptionAsset::__construct public function Constructor - should not be called