Свойство | Type | Description | |
---|---|---|---|
$host | TestEnvironment_HostDefinition | the host we are checking out roles for |
Méthode | Description | |
---|---|---|
__construct ( TestEnvironment_HostDefinition $host ) | constructor | |
validate ( mixed $roles ) : void | validate a set of roles |
Méthode | Description | |
---|---|---|
validateMustBeArray ( mixed $roles ) : void | make sure that the roles are an array | |
validateMustBeKeyValuePairs ( array $roles ) : void | make sure that the roles are simple key / value pairs |
public __construct ( TestEnvironment_HostDefinition $host ) | ||
$host | TestEnvironment_HostDefinition | the host that we are validating roles for |
protected validateMustBeArray ( mixed $roles ) : void | ||
$roles | mixed | the roles to check |
Résultat | void |
protected validateMustBeKeyValuePairs ( array $roles ) : void | ||
$roles | array | the roles to check |
Résultat | void |
protected TestEnvironment_HostDefinition,DataSift\Storyplayer\DefinitionLib $host | ||
Résultat | TestEnvironment_HostDefinition |