PHP 클래스 Nelmio\Alice\Definition\Value\FixtureMatchReferenceValue

상속: implements Nelmio\Alice\Definition\ValueInterface
파일 보기 프로젝트 열기: nelmio/alice 1 사용 예제들

공개 메소드들

메소드 설명
__construct ( string $pattern )
__toString ( ) : string
createWildcardReference ( string $reference ) : self
getValue ( ) : string
match ( string $value ) : boolean

메소드 상세

__construct() 공개 메소드

public __construct ( string $pattern )
$pattern string

__toString() 공개 메소드

public __toString ( ) : string
리턴 string

createWildcardReference() 공개 정적인 메소드

public static createWildcardReference ( string $reference ) : self
$reference string e.g. 'user'
리턴 self reference with the pattern to match "@user*"

getValue() 공개 메소드

public getValue ( ) : string
리턴 string

match() 공개 메소드

public match ( string $value ) : boolean
$value string
리턴 boolean