src/Controller/DefaultController.php
protected static function getTitleSingle(): string
    {
        if (!empty(static::CONFIG_TITLE_SINGLE)) {
            return static::CONFIG_TITLE_SINGLE;
        }

        $sTitle = preg_replace('/([a-z])([A-Z])/', '$1 $2', static::CONFIG_MODEL_NAME);
        $sTitle = strtolower($sTitle);
        $sTitle = ucwords($sTitle);

        return $sTitle;
    }
protected static function getTitleSingle(): string
    {
        if (!empty(static::CONFIG_TITLE_SINGLE)) {
            return static::CONFIG_TITLE_SINGLE;
        }

        $sTitle = preg_replace('/([a-z])([A-Z])/', '$1 $2', static::CONFIG_MODEL_NAME);
        $sTitle = strtolower($sTitle);
        $sTitle = ucwords($sTitle);

        return $sTitle;
    }
Returns the string to use as the "single" title

@return string