protected function getLabel($key, $value)
    {
        
        if ($this->labelsCache === null) { 
            $this->prepareCacheLabels();
        }
        
        return $this->labelsCache[$key]($value);
    }
protected function getLabel($key, $value)
    {
        
        if ($this->labelsCache === null) { 
            $this->prepareCacheLabels();
        }
        
        return $this->labelsCache[$key]($value);
    }
protected function getLabel ( $ key , $ value ) { if ( $ this -> labelsCache === null ) { $ this -> prepareCacheLabels ( ) ; } return $ this -> labelsCache [ $ key ] ( $ value ) ; }
Give the label corresponding to the given key and value.

@param string $key
@param string $value
@return string
@throws \LogicException if the label is not found
Give the label corresponding to the given key and value .