static public function transApiDoc(string $translationPath, array $parameters = [], $locale = null) {
        if (static::class === self::class) {
            // redirect CmfConfig::transApiDoc() calls to primary config class
            return self::getPrimary()->transApiDoc($translationPath, $parameters, $locale);
        } else {
            $translationPath = 'api_docs.' . ltrim($translationPath, '.');
            return static::transCustom($translationPath, $parameters, $locale);
        }
    }
static public function transApiDoc(string $translationPath, array $parameters = [], $locale = null) {
        if (static::class === self::class) {
            // redirect CmfConfig::transApiDoc() calls to primary config class
            return self::getPrimary()->transApiDoc($translationPath, $parameters, $locale);
        } else {
            $translationPath = 'api_docs.' . ltrim($translationPath, '.');
            return static::transCustom($translationPath, $parameters, $locale);
        }
    }
static public function transApiDoc ( string $ translationPath , array $ parameters = [ ] , $ locale = null ) { if ( static :: class === self :: class ) { // redirect CmfConfig::transApiDoc() calls to primary config class return self :: getPrimary ( ) -> transApiDoc ( $ translationPath , $ parameters , $ locale ) ; } else { $ translationPath = 'api_docs.' . ltrim ( $ translationPath , '.' ) ; return static :: transCustom ( $ translationPath , $ parameters , $ locale ) ; } }
Translations for Api Docs
@param string $translationPath
@param array $parameters
@param null $locale
@return string|array
Translations for Api Docs