| 1 | <?php |
||
| 21 | class HhvmExceptionPatch implements ClassPatchInterface |
||
| 22 | { |
||
| 23 | /** |
||
| 24 | * Supports exceptions on HHVM. |
||
| 25 | * |
||
| 26 | * @param ClassNode $node |
||
| 27 | * |
||
| 28 | * @return bool |
||
| 29 | */ |
||
| 30 | public function supports(ClassNode $node) |
||
| 38 | |||
| 39 | /** |
||
| 40 | * Removes special exception static methods from the doubled methods. |
||
| 41 | * |
||
| 42 | * @param ClassNode $node |
||
| 43 | * |
||
| 44 | * @return void |
||
| 45 | */ |
||
| 46 | public function apply(ClassNode $node) |
||
| 55 | |||
| 56 | /** |
||
| 57 | * {@inheritdoc} |
||
| 58 | */ |
||
| 59 | public function getPriority() |
||
| 63 | } |
||
| 64 |