isCatchPhraseValid() protected static method

Validates a french catch phrase.
protected static isCatchPhraseValid ( string $catchPhrase ) : boolean
$catchPhrase string The catch phrase to validate.
return boolean (true if valid, false otherwise)
コード例 #1
0
ファイル: CompanyTest.php プロジェクト: nottavi/Faker
 public function testCatchPhraseValidationReturnsTrue()
 {
     $isCatchPhraseValid = Company::isCatchPhraseValid('La sécurité de rouler en toute simplicité');
     $this->assertTrue($isCatchPhraseValid);
 }
コード例 #2
0
ファイル: CompanyTest.php プロジェクト: rodrigopbel/ong
 public static function isCatchPhraseValid($catchPhrase)
 {
     return parent::isCatchPhraseValid($catchPhrase);
 }