You are here

public function KeywordPatch::supports in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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\ClassPatch

Code

public function supports(ClassNode $node) {
  return true;
}