getGroupId() public method

what is our group ID?
public getGroupId ( ) : integer | string
return integer | string
示例#1
0
 /**
  * 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);
     }
 }
示例#2
0
 /**
  * what is the ID of the group that we belong to?
  *
  * @return int
  */
 public function getGroupId()
 {
     return $this->parentGroup->getGroupId();
 }