public function KeywordPatch::supports in Zircon Profile 8
Same name and namespace in other branches
- 8.0 vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/KeywordPatch.php \Prophecy\Doubler\ClassPatch\KeywordPatch::supports()
Support any class
Parameters
ClassNode $node:
Return value
boolean
Overrides ClassPatchInterface::supports
File
- vendor/
phpspec/ prophecy/ src/ Prophecy/ Doubler/ ClassPatch/ KeywordPatch.php, line 30
Class
- KeywordPatch
- Remove method functionality from the double which will clash with php keywords.
Namespace
Prophecy\Doubler\ClassPatchCode
public function supports(ClassNode $node) {
return true;
}