Documentation

DisableConstructorPatch
in package
implements ClassPatchInterface

Disable constructor.

Makes all constructor arguments optional.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Interfaces, Classes and Traits

ClassPatchInterface
Class patch interface.

Table of Contents

apply()  : void
Makes all class constructor arguments optional.
getPriority()  : int
Returns patch priority, which determines when patch will be applied.
supports()  : bool
Checks if class has `__construct` method.

Methods

getPriority()

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

public getPriority() : int
Return values
int

Priority number (higher - earlier)

Search results