Wrep\Notificato\Apns\Certificate::getPassphrase PHP 메소드

getPassphrase() 공개 메소드

Passphrase to use with the PEM file
public getPassphrase ( ) : string
리턴 string
    public function getPassphrase()
    {
        return $this->passphrase;
    }

Usage Example

예제 #1
0
 /**
  * @dataProvider correctConstructorArguments
  */
 public function testGetPassphrase($pemFile, $passphrase, $validate, $endpoint)
 {
     $certificate = new Certificate($pemFile, $passphrase, $validate, $endpoint);
     $this->assertEquals($passphrase, $certificate->getPassphrase(), 'Get passphrase returned incorrect passphrase.');
 }