Mpociot\ApiDoc\Parsers\RuleDescriptionParser::makeDescription PHP Method

makeDescription() protected method

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