protected validateMustBeArray ( mixed $roles ) : void | ||
$roles | mixed | the roles to check |
return | void |
protected function validateMustBeArray($roles)
{
if (!is_array($roles)) {
throw new E4xx_IllegalRolesList($this->host->getTestEnvironmentName(), $this->host->getGroupId(), $this->host->getHostId(), $roles);
}
}