Mpociot\ApiDoc\Parsers\RuleDescriptionParser::makeDescription PHP Méthode

makeDescription() protected méthode

protected makeDescription ( ) : string
Résultat string
    protected function makeDescription()
    {
        $description = trans()->hasForLocale($this->rule) ? trans()->get($this->rule) : trans()->get($this->rule, [], self::DEFAULT_LOCALE);
        return $this->replaceAttributes($description);
    }