You are here

public function MagicCallPatch::supports in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php \Prophecy\Doubler\ClassPatch\MagicCallPatch::supports()

Support any class

Parameters

ClassNode $node:

Return value

boolean

Overrides ClassPatchInterface::supports

File

vendor/phpspec/prophecy/src/Prophecy/Doubler/ClassPatch/MagicCallPatch.php, line 32

Class

MagicCallPatch
Discover Magical API using "@method" PHPDoc format.

Namespace

Prophecy\Doubler\ClassPatch

Code

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