| 
    file-fetcher
    
   | 
 
  
Class patch interface. Class patches extend doubles functionality or help Prophecy to avoid some internal PHP bugs.
Public Member Functions | |
| supports (ClassNode $node) | |
| apply (ClassNode $node) | |
| getPriority () | |
| Prophecy\Doubler\ClassPatch\ClassPatchInterface::apply | ( | ClassNode | $node | ) | 
Applies patch to the specific class node.
| ClassNode | $node | 
Implemented in Prophecy\Doubler\ClassPatch\TraversablePatch, Prophecy\Doubler\ClassPatch\MagicCallPatch, Prophecy\Doubler\ClassPatch\ThrowablePatch, Prophecy\Doubler\ClassPatch\SplFileInfoPatch, Prophecy\Doubler\ClassPatch\HhvmExceptionPatch, Prophecy\Doubler\ClassPatch\ProphecySubjectPatch, Prophecy\Doubler\ClassPatch\DisableConstructorPatch, Prophecy\Doubler\ClassPatch\ReflectionClassNewInstancePatch, and Prophecy\Doubler\ClassPatch\KeywordPatch.
| Prophecy\Doubler\ClassPatch\ClassPatchInterface::getPriority | ( | ) | 
Returns patch priority, which determines when patch will be applied.
Implemented in Prophecy\Doubler\ClassPatch\ProphecySubjectPatch, Prophecy\Doubler\ClassPatch\ThrowablePatch, Prophecy\Doubler\ClassPatch\MagicCallPatch, Prophecy\Doubler\ClassPatch\SplFileInfoPatch, Prophecy\Doubler\ClassPatch\TraversablePatch, Prophecy\Doubler\ClassPatch\DisableConstructorPatch, Prophecy\Doubler\ClassPatch\HhvmExceptionPatch, Prophecy\Doubler\ClassPatch\KeywordPatch, and Prophecy\Doubler\ClassPatch\ReflectionClassNewInstancePatch.
| Prophecy\Doubler\ClassPatch\ClassPatchInterface::supports | ( | ClassNode | $node | ) | 
Checks if patch supports specific class node.
| ClassNode | $node | 
Implemented in Prophecy\Doubler\ClassPatch\MagicCallPatch, Prophecy\Doubler\ClassPatch\ProphecySubjectPatch, Prophecy\Doubler\ClassPatch\DisableConstructorPatch, Prophecy\Doubler\ClassPatch\SplFileInfoPatch, Prophecy\Doubler\ClassPatch\TraversablePatch, Prophecy\Doubler\ClassPatch\ReflectionClassNewInstancePatch, Prophecy\Doubler\ClassPatch\HhvmExceptionPatch, Prophecy\Doubler\ClassPatch\KeywordPatch, and Prophecy\Doubler\ClassPatch\ThrowablePatch.
 1.8.17