Validates a french catch phrase.
protected static isCatchPhraseValid ( string $catchPhrase ) : boolean | ||
$catchPhrase | string | The catch phrase to validate. |
Результат | boolean | (true if valid, false otherwise) |
public function testCatchPhraseValidationReturnsTrue() { $isCatchPhraseValid = Company::isCatchPhraseValid('La sécurité de rouler en toute simplicité'); $this->assertTrue($isCatchPhraseValid); }
public static function isCatchPhraseValid($catchPhrase) { return parent::isCatchPhraseValid($catchPhrase); }