Documentation

MagicCallPatch
in package
implements ClassPatchInterface

Discover Magical API using "@method" PHPDoc format.

Tags
author

Thomas Tourlourat thomas@tourlourat.com

author

Kévin Dunglas dunglas@gmail.com

author

Théo FIDRY theo.fidry@gmail.com

Interfaces, Classes, Traits and Enums

ClassPatchInterface
Class patch interface.

Table of Contents

MAGIC_METHODS_WITH_ARGUMENTS  = ['__call', '__callStatic', '__get', '__isset', '__set', '__set_state', '__unserialize', '__unset']
$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

Constants

MAGIC_METHODS_WITH_ARGUMENTS

public mixed MAGIC_METHODS_WITH_ARGUMENTS = ['__call', '__callStatic', '__get', '__isset', '__set', '__set_state', '__unserialize', '__unset']

Properties

Methods

__construct()

public __construct([MethodTagRetrieverInterface $tagRetriever = null ]) : mixed
Parameters
$tagRetriever : MethodTagRetrieverInterface = null
Return values
mixed

getPriority()

Returns patch priority, which determines when patch will be applied.

public getPriority() : int
Return values
int

Priority number (higher - earlier)

Search results