public function getValue($key, $default = null)
    {
        if (is_array($this->kwargs) && isset($this->kwargs[$key])) {
            return $this->kwargs[$key];
        }
        return $default; // @codeCoverageIgnore
    }
public function getValue($key, $default = null)
    {
        if (is_array($this->kwargs) && isset($this->kwargs[$key])) {
            return $this->kwargs[$key];
        }
        return $default; // @codeCoverageIgnore
    }
public function getValue ( $ key , $ default = null ) { if ( is_array ( $ this -> kwargs ) && isset ( $ this -> kwargs [ $ key ] ) ) { return $ this -> kwargs [ $ key ] ; } return $ default ; // @codeCoverageIgnore }
Get kwargs value by key, return default if not found.

@param string $key Key string
@param mixed $default
@return mixed|null
Get kwargs value by key return default if not found .