PHP 클래스 Mutagenesis\Utility\Runkit

파일 보기 프로젝트 열기: padraic/mutagenesis 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$_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