PHP Класс Mutagenesis\Utility\Runkit

Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
$_methodPreserveCode string Method signature hash appended to a replaced method's name so it can be reinstated later without any need to separately store entire method related code blocks.

Открытые методы

Метод Описание
applyMutation ( array $mutation ) Apply a mutation to the relevant file
getMethodFlags ( array $mutation ) : integer Get the appropriate ext/runkit method flag value to use during a replacement via the runkit methods
reverseMutation ( array $mutation ) Reverse a previously applied mutation to the given file

Описание методов

applyMutation() публичный Метод

Apply a mutation to the relevant file
public applyMutation ( array $mutation )
$mutation array

getMethodFlags() публичный Метод

Get the appropriate ext/runkit method flag value to use during a replacement via the runkit methods
public getMethodFlags ( array $mutation ) : integer
$mutation array
Результат integer

reverseMutation() публичный Метод

Reverse a previously applied mutation to the given file
public reverseMutation ( array $mutation )
$mutation array

Описание свойств

$_methodPreserveCode защищенное свойство

Method signature hash appended to a replaced method's name so it can be reinstated later without any need to separately store entire method related code blocks.
protected string $_methodPreserveCode
Результат string