protected function getKeyword($key): Keyword
    {
        if ($key instanceof Keyword) {
            return $key;
        }

        if (! isset($this->cachedKeyword[$key])) {
            $this->cachedKeyword[$key] = Keyword::make($key);
        }

        return $this->cachedKeyword[$key];
    }
protected function getKeyword($key): Keyword
    {
        if ($key instanceof Keyword) {
            return $key;
        }

        if (! isset($this->cachedKeyword[$key])) {
            $this->cachedKeyword[$key] = Keyword::make($key);
        }

        return $this->cachedKeyword[$key];
    }
protected function getKeyword ( $ key ) : Keyword { if ( $ key instanceof Keyword ) { return $ key ; } if ( ! isset ( $ this -> cachedKeyword [ $ key ] ) ) { $ this -> cachedKeyword [ $ key ] = Keyword :: make ( $ key ) ; } return $ this -> cachedKeyword [ $ key ] ; }
Get keyword instance.

@param  \Orchestra\Support\Keyword|string  $key

@return \Orchestra\Support\Keyword
Get keyword instance .