DataSift\Storyplayer\DefinitionLib\TestEnvironment_GroupDefinition::getTestEnvironmentName PHP Method

getTestEnvironmentName() public method

which test environment do we belong to?
public getTestEnvironmentName ( ) : string
return string
    public function getTestEnvironmentName()
    {
        return $this->parentEnv->getName();
    }

Usage Example

 /**
  * make sure that the hostId is a string
  *
  * @param  mixed $hostId
  *         the hostId to check
  * @return void
  */
 protected function validateMustBeString($hostId)
 {
     // make sure 'hostId' is a string
     if (!is_string($hostId)) {
         throw new E4xx_IllegalHostId($this->group->getTestEnvironmentName(), $this->group->getGroupId(), $hostId);
     }
 }
All Usage Examples Of DataSift\Storyplayer\DefinitionLib\TestEnvironment_GroupDefinition::getTestEnvironmentName