PHP 클래스 DataSift\Storyplayer\DefinitionLib\TestEnvironment_HostIdValidator

저자: Stuart Herbert ([email protected])
파일 보기 프로젝트 열기: datasift/storyplayer 1 사용 예제들

보호된 프로퍼티들

프로퍼티 타입 설명
$group TestEnvironment_GroupDefinition the group that we are validating host IDs for

공개 메소드들

메소드 설명
__construct ( TestEnvironment_GroupDefinition $group ) constructor
validate ( mixed $hostId ) : void make sure that we're happy with a hostId

보호된 메소드들

메소드 설명
validateMustBeString ( mixed $hostId ) : void make sure that the hostId is a string

메소드 상세

__construct() 공개 메소드

constructor
public __construct ( TestEnvironment_GroupDefinition $group )
$group TestEnvironment_GroupDefinition the group that we are validating host IDs for

validate() 공개 메소드

make sure that we're happy with a hostId
public validate ( mixed $hostId ) : void
$hostId mixed the hostId to check
리턴 void

validateMustBeString() 보호된 메소드

make sure that the hostId is a string
protected validateMustBeString ( mixed $hostId ) : void
$hostId mixed the hostId to check
리턴 void

프로퍼티 상세

$group 보호되어 있는 프로퍼티

the group that we are validating host IDs for
protected TestEnvironment_GroupDefinition,DataSift\Storyplayer\DefinitionLib $group
리턴 TestEnvironment_GroupDefinition