Wrep\Notificato\Apns\Certificate::getPemFile PHP Méthode

getPemFile() public méthode

Get the path to the PEM file
public getPemFile ( ) : string
Résultat string
    public function getPemFile()
    {
        return $this->pemFile;
    }

Usage Example

 /**
  * @dataProvider correctConstructorArguments
  */
 public function testGetPemFile($pemFile, $passphrase, $validate, $endpoint)
 {
     $certificate = new Certificate($pemFile, $passphrase, $validate, $endpoint);
     $this->assertEquals(realpath($pemFile), $certificate->getPemFile(), 'Got incorrect PEM file path from getter.');
 }