You are here

public function ProphecySubjectPatch::supports in Zircon Profile 8.0

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

Code

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