MagicCallPatch
in package
implements
ClassPatchInterface
Discover Magical API using "@method" PHPDoc format.
Tags
Interfaces, Classes and Traits
- ClassPatchInterface
- Class patch interface.
Table of Contents
- $tagRetriever : mixed
- __construct() : mixed
- apply() : void
- Discover Magical API
- getPriority() : int
- Returns patch priority, which determines when patch will be applied.
- supports() : bool
- Support any class
Properties
$tagRetriever
private
mixed
$tagRetriever
Methods
__construct()
public
__construct([MethodTagRetrieverInterface $tagRetriever = null ]) : mixed
Parameters
- $tagRetriever : MethodTagRetrieverInterface = null
Return values
mixed —apply()
Discover Magical API
public
apply(ClassNode $node) : void
Parameters
- $node : ClassNode
Return values
void —getPriority()
Returns patch priority, which determines when patch will be applied.
public
getPriority() : int
Return values
int —Priority number (higher - earlier)
supports()
Support any class
public
supports(ClassNode $node) : bool
Parameters
- $node : ClassNode