DataSift\Storyplayer\DefinitionLib\E4xx_IllegalRole::__construct PHP Метод

__construct() публичный Метод

public __construct ( $testEnvironmentName, $groupId, $hostId, $role )
    public function __construct($testEnvironmentName, $groupId, $hostId, $role)
    {
        $msg = "in test environment {$testEnvironmentName}, group {$groupId}, host {$hostId}: roles must be an array of strings; contains at least one " . gettype($role) . " instead";
        parent::__construct(400, $msg, $msg);
    }
E4xx_IllegalRole