PHP Class Prophecy\Doubler\ClassPatch\MagicCallPatch

Author: Thomas Tourlourat ([email protected])
Author: Kévin Dunglas ([email protected])
Author: Théo FIDRY ([email protected])
Inheritance: implements Prophecy\Doubler\ClassPatch\ClassPatchInterface
Mostrar archivo Open project: phpspec/prophecy

Public Methods

Method Description
__construct ( Prophecy\PhpDocumentor\MethodTagRetrieverInterface $tagRetriever = null )
apply ( Prophecy\Doubler\Generator\Node\ClassNode $node ) Discover Magical API
getPriority ( ) : integer Returns patch priority, which determines when patch will be applied.
supports ( Prophecy\Doubler\Generator\Node\ClassNode $node ) : boolean Support any class

Method Details

__construct() public method

public __construct ( Prophecy\PhpDocumentor\MethodTagRetrieverInterface $tagRetriever = null )
$tagRetriever Prophecy\PhpDocumentor\MethodTagRetrieverInterface

apply() public method

Discover Magical API
public apply ( Prophecy\Doubler\Generator\Node\ClassNode $node )
$node Prophecy\Doubler\Generator\Node\ClassNode

getPriority() public method

Returns patch priority, which determines when patch will be applied.
public getPriority ( ) : integer
return integer Priority number (higher - earlier)

supports() public method

Support any class
public supports ( Prophecy\Doubler\Generator\Node\ClassNode $node ) : boolean
$node Prophecy\Doubler\Generator\Node\ClassNode
return boolean