src/Wrep/Notificato/Apns/MessageEnvelope.php
public function getFinalStatus()
	{
		$currentEnvelope = $this;
		while ( null != $currentEnvelope->getRetryEnvelope() ) {
			$currentEnvelope = $currentEnvelope->getRetryEnvelope();
		}

		return $currentEnvelope->getStatus();
	}
public function getFinalStatus()
	{
		$currentEnvelope = $this;
		while ( null != $currentEnvelope->getRetryEnvelope() ) {
			$currentEnvelope = $currentEnvelope->getRetryEnvelope();
		}

		return $currentEnvelope->getStatus();
	}
public function getFinalStatus ( ) { $ currentEnvelope = $ this ; while ( null != $ currentEnvelope -> getRetryEnvelope ( ) ) { $ currentEnvelope = $ currentEnvelope -> getRetryEnvelope ( ) ; } return $ currentEnvelope -> getStatus ( ) ; }
Get the final status after all retries.
Use this method to know how the message ended up after all retries.

@return int
Get the final status after all retries . Use this method to know how the message ended up after all retries .