public function ClassPatchInterface::apply in Zircon Profile 8.0
Same name and namespace in other branches
- 8 vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php \Prophecy\Doubler\ClassPatch\ClassPatchInterface::apply()
Applies patch to the specific class node.
Parameters
ClassNode $node:
Return value
void
8 methods override ClassPatchInterface::apply()
- DisableConstructorPatch::apply in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ DisableConstructorPatch.php - Makes all class constructor arguments optional.
- HhvmExceptionPatch::apply in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ HhvmExceptionPatch.php - Removes special exception static methods from the doubled methods.
- KeywordPatch::apply in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ KeywordPatch.php - Remove methods that clash with php keywords
- MagicCallPatch::apply in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ MagicCallPatch.php - Discover Magical API
- ProphecySubjectPatch::apply in vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ ProphecySubjectPatch.php - Apply Prophecy functionality to class node.
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ ClassPatchInterface.php, line 40
Class
- ClassPatchInterface
- Class patch interface. Class patches extend doubles functionality or help Prophecy to avoid some internal PHP bugs.
Namespace
Prophecy\Doubler\ClassPatchCode
public function apply(ClassNode $node);