public function getMinified(string $key): ?string
    {
        if (array_key_exists($key, $this->map)) {
            return $key;
        }

        $foundKey = array_search($key, $this->map);
        if ($foundKey === false) {
            throw new JoryException('Key '.$key.' is no valid Jory key.');
        }

        return $foundKey;
    }
public function getMinified(string $key): ?string
    {
        if (array_key_exists($key, $this->map)) {
            return $key;
        }

        $foundKey = array_search($key, $this->map);
        if ($foundKey === false) {
            throw new JoryException('Key '.$key.' is no valid Jory key.');
        }

        return $foundKey;
    }
public function getMinified ( string $ key ) : ? string { if ( array_key_exists ( $ key , $ this -> map ) ) { return $ key ; } $ foundKey = array_search ( $ key , $ this -> map ) ; if ( $ foundKey === false ) { throw new JoryException ( 'Key ' . $ key . ' is no valid Jory key.' ) ; } return $ foundKey ; }
Get the minified key for the given key.

@param string $key
@return string|null
@throws \JosKolenberg\Jory\Exceptions\JoryException
Get the minified key for the given key .