Documentation

ProphecySubjectPatch
in package
implements ClassPatchInterface

Add Prophecy functionality to the double.

This is a core class patch for Prophecy.

Tags
author

Konstantin Kudryashov ever.zet@gmail.com

Interfaces, Classes and Traits

ClassPatchInterface
Class patch interface.

Table of Contents

apply()  : void
Apply Prophecy functionality to class node.
getPriority()  : int
Returns patch priority, which determines when patch will be applied.
supports()  : bool
Always returns true.

Methods

getPriority()

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

public getPriority() : int
Return values
int

Priority number (higher - earlier)

Search results