Documentation

ClassPatchInterface
in

Class patch interface.

Class patches extend doubles functionality or help Prophecy to avoid some internal PHP bugs.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Table of Contents

apply()  : void
Applies patch to the specific class node.
getPriority()  : int
Returns patch priority, which determines when patch will be applied.
supports()  : bool
Checks if patch supports specific class node.

Methods

getPriority()

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

public getPriority() : int
Return values
int

Priority number (higher - earlier)

Search results