PHP 클래스 Nelmio\Alice\Definition\Property

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

공개 메소드들

메소드 설명
__construct ( string $name, Nelmio\Alice\Definition\ValueInterface | mixed $value )
getName ( ) : string
getValue ( ) : Nelmio\Alice\Definition\ValueInterface | mixed
withValue ( $value ) : self param ValueInterface|mixed $value

메소드 상세

__construct() 공개 메소드

public __construct ( string $name, Nelmio\Alice\Definition\ValueInterface | mixed $value )
$name string Fixture property name, e.g. 'username' (no flags expected)
$value Nelmio\Alice\Definition\ValueInterface | mixed

getName() 공개 메소드

public getName ( ) : string
리턴 string

getValue() 공개 메소드

public getValue ( ) : Nelmio\Alice\Definition\ValueInterface | mixed
리턴 Nelmio\Alice\Definition\ValueInterface | mixed

withValue() 공개 메소드

param ValueInterface|mixed $value
public withValue ( $value ) : self
리턴 self