PHP 클래스 Eris\Generator\GeneratedValue

Immutable object, modifiers return a new GeneratedValue instance.
파일 보기 프로젝트 열기: giorgiosironi/eris 1 사용 예제들

공개 메소드들

메소드 설명
__toString ( )
derivedIn ( string $generatorName ) : GeneratedValue
fromJustValue ( T $value, string $generatorName = null ) : GeneratedValue Input will be copied from value.
fromValueAndInput ( T $value, GeneratedValue | mixed $input, string $generatorName = null ) : GeneratedValue A value and the input that was used to derive it.
input ( ) : GeneratedValue | mixed
map ( callable $applyToValue, $generatorName ) : GeneratedValue
unbox ( ) : T

비공개 메소드들

메소드 설명
__construct ( $value, $input, $generatorName, array $annotations = [] )

메소드 상세

__toString() 공개 메소드

public __toString ( )

derivedIn() 공개 메소드

public derivedIn ( string $generatorName ) : GeneratedValue
$generatorName string 'tuple', 'vector'
리턴 GeneratedValue

fromJustValue() 공개 정적인 메소드

Input will be copied from value.
public static fromJustValue ( T $value, string $generatorName = null ) : GeneratedValue
$value T
$generatorName string 'tuple'
리턴 GeneratedValue

fromValueAndInput() 공개 정적인 메소드

The input usually comes from another Generator.
public static fromValueAndInput ( T $value, GeneratedValue | mixed $input, string $generatorName = null ) : GeneratedValue
$value T
$input GeneratedValue | mixed
$generatorName string 'tuple'
리턴 GeneratedValue

input() 공개 메소드

public input ( ) : GeneratedValue | mixed
리턴 GeneratedValue | mixed

map() 공개 메소드

public map ( callable $applyToValue, $generatorName ) : GeneratedValue
$applyToValue callable
리턴 GeneratedValue

unbox() 공개 메소드

public unbox ( ) : T
리턴 T