Faker\Provider\fr_FR\Company::catchPhrase PHP Method

catchPhrase() public method

Generates a french catch phrase.
public catchPhrase ( ) : string
return string
    public function catchPhrase()
    {
        do {
            $format = static::randomElement(static::$catchPhraseFormats);
            $catchPhrase = ucfirst($this->generator->parse($format));
            if ($this->isCatchPhraseValid($catchPhrase)) {
                break;
            }
        } while (true);
        return $catchPhrase;
    }