public function setAPNSPemAsString($pemContent, $passphrase) {
        if (isset($this->handlers[Types::OS_IOS]) && $this->handlers[Types::OS_IOS] instanceof AppleNotification) {
            /** @var AppleNotification $appleNotification */
            $appleNotification = $this->handlers[Types::OS_IOS];
            $appleNotification->setPemAsString($pemContent, $passphrase);
        }
    }
public function setAPNSPemAsString($pemContent, $passphrase) {
        if (isset($this->handlers[Types::OS_IOS]) && $this->handlers[Types::OS_IOS] instanceof AppleNotification) {
            /** @var AppleNotification $appleNotification */
            $appleNotification = $this->handlers[Types::OS_IOS];
            $appleNotification->setPemAsString($pemContent, $passphrase);
        }
    }
public function setAPNSPemAsString ( $ pemContent , $ passphrase ) { if ( isset ( $ this -> handlers [ Types :: OS_IOS ] ) && $ this -> handlers [ Types :: OS_IOS ] instanceof AppleNotification ) { /** @var AppleNotification $appleNotification */ $ appleNotification = $ this -> handlers [ Types :: OS_IOS ] ; $ appleNotification -> setPemAsString ( $ pemContent , $ passphrase ) ; } }
Set Apple Push Notification Service pem as string.
Service won't use pem file passed by config anymore.

@param $pemContent string
@param $passphrase
Set Apple Push Notification Service pem as string . Service won t use pem file passed by config anymore .