Throwable::getPrevious

(PHP 7)

Throwable::getPreviousRetourne le Throwable précédent

Description

abstract public Throwable::getPrevious ( void ) : Throwable

Retourne un Throwable précedent (par exemple, un fournit grâce au troisième paramètre de Exception::__construct()).

Liste de paramètres

Cette fonction ne contient aucun paramètre.

Valeurs de retour

Retourne le Throwable précédent si disponible ou NULL sinon.

Voir aussi