public function ProphecySubjectPatch::supports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/ProphecySubjectPatch.php \Prophecy\Doubler\ClassPatch\ProphecySubjectPatch::supports()
Always returns true.
Parameters
ClassNode $node:
Return value
bool
Overrides ClassPatchInterface::supports
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ ProphecySubjectPatch.php, line 33
Class
- ProphecySubjectPatch
- Add Prophecy functionality to the double. This is a core class patch for Prophecy.
Namespace
Prophecy\Doubler\ClassPatchCode
public function supports(ClassNode $node) {
return true;
}