public newHost ( string $hostId, Storyplayer\TestEnvironments\HostAdapter $hostAdapter ) : TestEnvironment_HostDefinition | ||
$hostId | string | the ID of this host |
$hostAdapter | Storyplayer\TestEnvironments\HostAdapter | the plugin for this kind of host |
return | TestEnvironment_HostDefinition | the empty host definition, for you to complete |