namespace Prophecy\Doubler\ClassPatch
Object name | File name | Summary |
---|---|---|
ClassPatchInterface | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ClassPatchInterface.php | Class patch interface. Class patches extend doubles functionality or help Prophecy to avoid some internal PHP bugs. |
DisableConstructorPatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/DisableConstructorPatch.php | Disable constructor. Makes all constructor arguments optional. |
KeywordPatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php | Remove method functionality from the double which will clash with php keywords. |
MagicCallPatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php | Discover Magical API using "@method" PHPDoc format. |
ProphecySubjectPatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php | Add Prophecy functionality to the double. This is a core class patch for Prophecy. |
ReflectionClassNewInstancePatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ReflectionClassNewInstancePatch.php | ReflectionClass::newInstance patch. Makes first argument of newInstance optional, since it works but signature is misleading |
SplFileInfoPatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/SplFileInfoPatch.php | SplFileInfo patch. Makes SplFileInfo and derivative classes usable with Prophecy. |
ThrowablePatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ThrowablePatch.php | |
TraversablePatch | vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/TraversablePatch.php | Traversable interface patch. Forces classes that implement interfaces, that extend Traversable to also implement Iterator. |