PHP 클래스 PHPUnit\Runner\CleverAndSmart\Util

파일 보기 프로젝트 열기: lstrojny/phpunit-clever-and-smart 1 사용 예제들

공개 메소드들

메소드 설명
createRunId ( ) : string Create unique run ID
getInvisibleProperty ( object $object, string $propertyName, string $methodName = null ) : mixed Get an invisible property from an object (private or protected)
setInvisibleProperty ( object $object, string $propertyName, mixed $value, string $methodName = null ) Set an invisible property from an object (private or protected)

비공개 메소드들

메소드 설명
getPropertyReflection ( object $object, string $propertyName ) : ReflectionProperty Get proper PropertyReflection object

메소드 상세

createRunId() 공개 정적인 메소드

Create unique run ID
public static createRunId ( ) : string
리턴 string

getInvisibleProperty() 공개 정적인 메소드

Get an invisible property from an object (private or protected)
public static getInvisibleProperty ( object $object, string $propertyName, string $methodName = null ) : mixed
$object object
$propertyName string
$methodName string
리턴 mixed

setInvisibleProperty() 공개 정적인 메소드

Set an invisible property from an object (private or protected)
public static setInvisibleProperty ( object $object, string $propertyName, mixed $value, string $methodName = null )
$object object
$propertyName string
$value mixed
$methodName string