hasPassphrase() публичный Метод

Checks if there is a passphrase to use with the certificate
public hasPassphrase ( ) : boolean
Результат boolean
Пример #1
0
 /**
  * @dataProvider correctConstructorArguments
  */
 public function testHasPassphrase($pemFile, $passphrase, $validate, $endpoint, $hasPassphrase)
 {
     $certificate = new Certificate($pemFile, $passphrase, $validate, $endpoint);
     $this->assertEquals($hasPassphrase, $certificate->hasPassphrase(), 'Has passphrase returned incorrect result.');
 }