12345678910111213141516171819202122 |
- <?php
- namespace DoctrineTest\InstantiatorTestAsset;
- use BadMethodCallException;
- use Phar;
- /**
- * Test asset that extends an internal PHP class
- */
- class PharAsset extends Phar
- {
- /**
- * Constructor - should not be called
- *
- * @throws BadMethodCallException
- */
- public function __construct()
- {
- throw new BadMethodCallException('Not supposed to be called!');
- }
- }
|