protected getNextBound ( string $key ) : integer | ||
$key | string | |
return | integer |
protected function getNextBound($key)
{
if (false === array_key_exists($key, $this->bounds)) {
$this->bounds[$key] = 0;
}
$this->bounds[$key] = $this->bounds[$key] + 1;
return $this->bounds[$key];
}