Documentation

KeywordPatch
in package
implements ClassPatchInterface

Remove method functionality from the double which will clash with php keywords.

Tags
author

Milan Magudia milan@magudia.com

Interfaces, Classes and Traits

ClassPatchInterface
Class patch interface.

Table of Contents

apply()  : void
Remove methods that clash with php keywords
getPriority()  : int
Returns patch priority, which determines when patch will be applied.
supports()  : bool
Support any class
getKeywords()  : array<string|int, mixed>
Returns array of php keywords.

Methods

getPriority()

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

public getPriority() : int
Return values
int

Priority number (higher - earlier)

getKeywords()

Returns array of php keywords.

private getKeywords() : array<string|int, mixed>
Return values
array<string|int, mixed>

Search results