PharAsset.php 404 B

12345678910111213141516171819202122
  1. <?php
  2. namespace DoctrineTest\InstantiatorTestAsset;
  3. use BadMethodCallException;
  4. use Phar;
  5. /**
  6. * Test asset that extends an internal PHP class
  7. */
  8. class PharAsset extends Phar
  9. {
  10. /**
  11. * Constructor - should not be called
  12. *
  13. * @throws BadMethodCallException
  14. */
  15. public function __construct()
  16. {
  17. throw new BadMethodCallException('Not supposed to be called!');
  18. }
  19. }