PHP Class DataSift\Storyplayer\DefinitionLib\TestEnvironment_HostIdValidator

Afficher le fichier Open project: datasift/storyplayer Class Usage Examples

Protected Properties

Свойство Type Description
$group TestEnvironment_GroupDefinition the group that we are validating host IDs for

Méthodes publiques

Méthode Description
__construct ( TestEnvironment_GroupDefinition $group ) constructor
validate ( mixed $hostId ) : void make sure that we're happy with a hostId

Méthodes protégées

Méthode Description
validateMustBeString ( mixed $hostId ) : void make sure that the hostId is a string

Method Details

__construct() public méthode

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

validate() public méthode

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

validateMustBeString() protected méthode

make sure that the hostId is a string
protected validateMustBeString ( mixed $hostId ) : void
$hostId mixed the hostId to check
Résultat void

Property Details

$group protected_oe property

the group that we are validating host IDs for
protected TestEnvironment_GroupDefinition,DataSift\Storyplayer\DefinitionLib $group
Résultat TestEnvironment_GroupDefinition