Documentation

ReflectionClassNewInstancePatch
in package
implements ClassPatchInterface

ReflectionClass::newInstance patch.

Makes first argument of newInstance optional, since it works but signature is misleading

Tags
author

Florian Klein florian.klein@free.fr

Interfaces, Classes, Traits and Enums

ClassPatchInterface
Class patch interface.

Table of Contents

apply()  : void
Updates newInstance's first argument to make it optional
getPriority()  : int
Returns patch priority, which determines when patch will be applied.
supports()  : bool
Supports ReflectionClass

Methods

getPriority()

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

public getPriority() : int
Return values
int

Priority number (higher = earlier)

Search results