public function getResourceWildcard(string $value): string
    {
        if (isset($this->parameters[$value])) {
            $value = $this->parameters[$value];
        } elseif (isset(static::$parameterMap[$value])) {
            $value = static::$parameterMap[$value];
        } elseif (static::$singularParameters || \array_search('singular', $this->parameters, true) !== false) {
            $value = Str::singular($value);
        }

        return \str_replace('-', '_', $value);
    }