O:39:"phpDocumentor\Descriptor\FileDescriptor":21:{s:7:" * hash";s:32:"9b2173d3fa553c9621ace7bdcf70244d";s:7:" * path";s:25:"GestionnaireException.php";s:9:" * source";s:8660:"<?php
// declare(encoding='UTF-8');
/**
 * Classe de gestion des exceptions.
 * C'est un Singleton.
 *
 * @category	PHP 5.2
 * @package	Framework
 * @author		Aurélien PERONNET <aurelien@tela-botanica.org>
 * @author		Jean-Pascal MILCENT <jmp@tela-botanica.org>
 * @copyright	Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)
 * @license	http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL
 * @license	http://www.gnu.org/licenses/gpl.html Licence GNU-GPL
 * @version	$Id: GestionnaireException.php 369 2011-10-03 12:47:17Z jpm $$
 * @link		/doc/framework/
 *
 */
class GestionnaireException {
	
	const MODE_CLI = 'cli';
	
	/** Liste des exceptions enregistrées */
	private static $exceptions = array();

	/** Détermine si l'on affiche ou non le contexte */
	private static $contexte = false;

	 /** Détermine si l'on loggue ou non les erreurs */
	private static $logger = false;

	/** Détermine si l'affichage des erreurs est forcé (true) ou pas (false) à la destruction de la classe */
	private static $afficher = false;

	/** Definit si php est lancé en ligne de commande ou en mode serveur */
	private static $mode = null ;

	/** Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.*/
	private static $parametres_obligatoires = array('debogage', 'debogage_contexte', 'log_debogage');
	
	/** Initialise le Gestionnaire d'exceptions et d'erreur sans tenir comptes des paramêtres de config. */
	public static function initialiser() {
		self::$mode = php_sapi_name();
		// Désactivation des balises HTML dans les messages d'erreur de PHP en mode ligne de commande
		if (self::$mode == self::MODE_CLI) {
			ini_set('html_errors', 0);
		} 
		
		set_exception_handler(array(get_class(),'gererException'));
		set_error_handler(array(get_class(),'gererErreur'));
	}
	
	/** Configure le Gestionnaire d'exceptions et d'erreur à partir des paramêtres de config. */
	public static function configurer() {
		Config::verifierPresenceParametres(self::$parametres_obligatoires);
		self::$contexte = Config::get('debogage_contexte');
		self::$logger = Config::get('log_debogage');
		self::$afficher = Config::get('debogage');
	}
	
	/**
	 * Renvoie le nombre d'exceptions et d'erreurs levées.
	 * @see getExceptions() pour obtenir les exceptions formatées.
	 * @since 0.3 
	 * @return int le nombre d'exception actuellement levées
	 */
	public static function getExceptionsNbre() {
		return count(self::$exceptions);
	}
	
	/** 
	 * Renvoie le booleen définissant si l'on affiche le contexte ou non 
	 * @return bool true si on affiche le contexte sinon false. 
	 */
	public static function getContexte() {
		return self::$contexte;
	}

	/**
	 * Definit si l'on veut afficher le contexte ou non
	 * @param bool true si on veut afficher le contexte, false sinon, par défaut vaut false
	 */
	public static function setContexte($contexte) {
		self::$contexte = $contexte;
	}

	/**
	 * Fonction de gestion des exceptions, remplace le handler par défaut.
	 * Si une boucle génère de multiple exception (ou erreur) identique une seule sera stockée.
	 * @param Exception $e l'exception à traiter
	 */
	public static function gererException(Exception $e) {
		$cle = hash('md5', $e->getMessage().'-'.$e->getFile().'-'.$e->getLine());
		if (!isset(self::$exceptions[$cle])) {
			self::$exceptions[$cle] = $e;
			self::loggerException($e);
		}
	}

	/**
	 * Gère les erreurs en les convertissant en exceptions (remplace la fonction gestion d'erreurs native de php)
	 * @param int $niveau le niveau de l'erreur
	 * @param string $message le message associé à l'erreur
	 * @param string $fichier le nom du fichier où l'erreur s'est produite
	 * @param int $ligne la ligne où l'erreur s'est produite
	 * @param string $contexte le contexte associé à l'erreur
	 */
	public static function gererErreur($niveau,  $message,  $fichier,  $ligne,  $contexte){
		// Si un rapport d'erreur existe, création d'une exception
		if (error_reporting() != 0) {
			$e = new ErrorException($message, 0, $niveau, $fichier, $ligne);
			self::gererException($e);
		}
		return null;
	}

	/**
	 * Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.
	 * @since 0.3
	 * @deprecated
	 * @see getExceptionsFormatees()
	 * @return string les exceptions formatées en texte ou (X)HTML.
	 */
	public static function getExceptions() {
		return self::getExceptionsFormatees();
	}
	
	/**
	 * Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.
	 * @since 0.3
	 * @return string les exceptions formatées en texte ou (X)HTML.
	 */
	public static function getExceptionsFormatees() {
		$retour = '';
		if (self::getExceptionsNbre() > 0) {
			foreach (self::$exceptions as $cle => $e) {
				switch (self::$mode) {
					case self::MODE_CLI :
						$retour .= self::formaterExceptionTxt($e);
						break;
					default:
						$retour .= self::formaterExceptionXhtml($e);
				}
				// Nous vidons le tableau des exceptions au fur et à mesure pour éviter le réaffichage avec le destructeur.
				unset(self::$exceptions[$cle]);
			}
		}
		return $retour;
	}
	
	/**
	 * Renvoie le tableau d'objets Exception générées par le script PHP triées du niveau de sévérité le plus élevé au moins élevé.
	 * Format du tableau :
	 * array{sévérité_1 = array{Exception1, Exception2, Exception3,...}, sévérité_1 =  array{Exception1, Exception2, ...}, ...};
	 * ATTENTION : si vous utilisez cette méthode, c'est à vous de gérer l'affichage des Exceptions. Le gestionnaire d'exception
	 * n'enverra plus rien au navigateur ou à la console.
	 * @since 0.3
	 * @return array le tableau trié d'objet Exception.
	 */
	public static function getExceptionsTriees() {
		$retour = array();
		if (self::getExceptionsNbre() > 0) {
			foreach (self::$exceptions as $cle => $e) {
				$retour[$e->getSeverity()][] = $e;
				// Nous vidons le tableau des exceptions au fur et à mesure pour éviter le réaffichage avec le destructeur.
				unset(self::$exceptions[$cle]);
			}
			ksort($retour);
		}
		return $retour;
	}

	/**
	 * Logue une exception donnée sous une forme lisible si self::logger vaut true.
	 * @param Exception	$e l'exception à logger
	 */
	private static function loggerException(Exception $e) {
		if (self::$logger) {
			$message = self::formaterExceptionTxt($e);
			Log::ajouterEntree('erreurs', $message);
		}
	}
	
	/**
	 * Formate une exception de type Notice générée par la classe Debug.
	 * Seul le message est gardé car les autres infos font référence à la classe Debug et non à l'endroit où 
	 * le débug est lancée.
	 * TODO : faire en sorte d'afficher le fichier et la ligne où le débug est lancé.
	 * @since 0.3
	 * @param Exception l'exception à formater.
	 */
	public static function formaterExceptionDebug(Exception $e) {
		$txt = '';
		if ($e->getSeverity() == E_USER_NOTICE) {
			$txt = $e->getMessage();
		} else {
			$txt = self::formaterExceptionTxt($e);
		}
		return $txt;
	}
	
	/**
	 * Formate en texte une exception passée en paramètre.
	 * @since 0.3
	 * @param Exception l'exception à formater.
	 */
	public static function formaterExceptionTxt(Exception $e) {
		$message = '';
		$message .= $e->getMessage()."\n";
		$message .= 'Fichier : '.$e->getFile()."\n";
		$message .= 'Ligne : '.$e->getLine()."\n";
		if (self::getContexte()) {
			$message .= 'Contexte : '."\n".print_r($e->getTraceAsString(), true)."\n";
		}
		$message .= "\n";
		return $message;
	}
	
	/**
	 * Formate en (X)HTML une exception passée en paramètre.
	 * @since 0.3
	 * @param Exception l'exception à formater.
	 */
	public static function formaterExceptionXhtml(Exception $e) {
		$message = '';
		$message .= '<div class="debogage">'."\n";
		$message .= $e->getMessage()."\n";
		$message .= '<span class="debogage_fichier">'.'Fichier : '.$e->getFile().'</span>'."\n";
		$message .= '<span class="debogage_ligne">'.'Ligne : '.$e->getLine().'</span>'."\n";
		if (self::getContexte()) {
			$message .= '<pre>'."\n";
			$message .= '<strong>Contexte : </strong>'."\n".print_r($e->getTraceAsString(), true)."\n";
			$message .= '</pre>'."\n";
		}
		$message .= '</div>'."\n";
		return $message;
	}
	
	/**
	 * Lors de la destruction de la classe si des exceptions n'ont pas été affichées, et si le débogage est à true, elles sont
	 * affichées. 
	 */
	public function __destruct() {
		// Si des erreurs n'ont pas été affichée nous forçons leur affichage
		if (self::$afficher && self::getExceptionsNbre() > 0) {
			echo self::getExceptionsFormatees();
		}
	}

}
?>";s:19:" * namespaceAliases";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:11:" * includes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:12:" * constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:12:" * functions";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:" * classes";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:22:"\GestionnaireException";O:40:"phpDocumentor\Descriptor\ClassDescriptor":18:{s:9:" * parent";s:0:"";s:13:" * implements";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:11:" * abstract";b:0;s:8:" * final";b:0;s:12:" * constants";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:8:"MODE_CLI";O:43:"phpDocumentor\Descriptor\ConstantDescriptor":13:{s:9:" * parent";r:15;s:8:" * types";N;s:8:" * value";s:5:"'cli'";s:8:" * fqsen";s:32:"\GestionnaireException::MODE_CLI";s:7:" * name";s:8:"MODE_CLI";s:12:" * namespace";s:1:"\";s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:20;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:13:" * properties";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:6:{s:10:"exceptions";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:7:"array()";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:34:"\GestionnaireException::exceptions";s:7:" * name";s:10:"exceptions";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:34:"Liste des exceptions enregistrées";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:23;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:8:"contexte";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:5:"false";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:32:"\GestionnaireException::contexte";s:7:" * name";s:8:"contexte";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:45:"Détermine si l'on affiche ou non le contexte";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:26;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:6:"logger";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:5:"false";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:30:"\GestionnaireException::logger";s:7:" * name";s:6:"logger";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:44:"Détermine si l'on loggue ou non les erreurs";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:29;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:8:"afficher";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:5:"false";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:32:"\GestionnaireException::afficher";s:7:" * name";s:8:"afficher";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:101:"Détermine si l'affichage des erreurs est forcé (true) ou pas (false) à la destruction de la classe";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:32;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:4:"mode";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:4:"null";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:28:"\GestionnaireException::mode";s:7:" * name";s:4:"mode";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:65:"Definit si php est lancé en ligne de commande ou en mode serveur";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:35;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:23:"parametres_obligatoires";O:43:"phpDocumentor\Descriptor\PropertyDescriptor":15:{s:9:" * parent";r:15;s:8:" * types";N;s:10:" * default";s:54:"array('debogage', 'debogage_contexte', 'log_debogage')";s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:8:" * fqsen";s:47:"\GestionnaireException::parametres_obligatoires";s:7:" * name";s:23:"parametres_obligatoires";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:119:"Tableau des noms des paramètres à définir dans le fichier de config car obligatoirement nécessaire à cette classe.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:38;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:3:"var";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:10:" * methods";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:15:{s:11:"initialiser";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:37:"\GestionnaireException::initialiser()";s:7:" * name";s:11:"initialiser";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:97:"Initialise le Gestionnaire d'exceptions et d'erreur sans tenir comptes des paramêtres de config.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:41;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:10:"configurer";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:36:"\GestionnaireException::configurer()";s:7:" * name";s:10:"configurer";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:87:"Configure le Gestionnaire d'exceptions et d'erreur à partir des paramêtres de config.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:53;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:17:"getExceptionsNbre";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:43:"\GestionnaireException::getExceptionsNbre()";s:7:" * name";s:17:"getExceptionsNbre";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:52:"Renvoie le nombre d'exceptions et d'erreurs levées.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:66;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:4:{s:3:"see";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:42:"phpDocumentor\Descriptor\Tag\SeeDescriptor":4:{s:12:" * reference";s:16:"\getExceptions()";s:7:" * name";s:3:"see";s:14:" * description";s:39:"pour obtenir les exceptions formatées.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:45:"phpDocumentor\Descriptor\Tag\ReturnDescriptor":4:{s:8:" * types";a:1:{i:0;s:3:"int";}s:7:" * name";s:6:"return";s:14:" * description";s:42:"le nombre d'exception actuellement levées";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:11:"getContexte";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:37:"\GestionnaireException::getContexte()";s:7:" * name";s:11:"getContexte";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:66:"Renvoie le booleen définissant si l'on affiche le contexte ou non";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:74;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:45:"phpDocumentor\Descriptor\Tag\ReturnDescriptor":4:{s:8:" * types";a:1:{i:0;s:4:"bool";}s:7:" * name";s:6:"return";s:14:" * description";s:43:"true si on affiche le contexte sinon false.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:11:"setContexte";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:9:"$contexte";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:0:{}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:9:"$contexte";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:37:"\GestionnaireException::setContexte()";s:7:" * name";s:11:"setContexte";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:48:"Definit si l'on veut afficher le contexte ou non";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:82;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:0:"";s:8:" * types";a:1:{i:0;s:4:"bool";}s:7:" * name";s:5:"param";s:14:" * description";s:73:"true si on veut afficher le contexte, false sinon, par défaut vaut false";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50015";s:7:" * line";i:82;s:10:" * context";a:2:{i:0;s:9:"$contexte";i:1;s:13:"setContexte()";}}}}}s:14:"gererException";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:2:"$e";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:2:"$e";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:22:"l'exception à traiter";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:40:"\GestionnaireException::gererException()";s:7:" * name";s:14:"gererException";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:68:"Fonction de gestion des exceptions, remplace le handler par défaut.";s:14:" * description";s:91:"Si une boucle génère de multiple exception (ou erreur) identique une seule sera stockée.";s:17:" * fileDescriptor";N;s:7:" * line";i:91;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:2:"$e";s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:7:" * name";s:5:"param";s:14:" * description";s:22:"l'exception à traiter";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:11:"gererErreur";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:5:{s:7:"$niveau";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:3:"int";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:7:"$niveau";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:21:"le niveau de l'erreur";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:8:"$message";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:6:"string";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:8:"$message";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:31:"le message associé à l'erreur";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:8:"$fichier";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:6:"string";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:8:"$fichier";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:45:"le nom du fichier où l'erreur s'est produite";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:6:"$ligne";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:3:"int";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:6:"$ligne";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:36:"la ligne où l'erreur s'est produite";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:9:"$contexte";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:6:"string";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:9:"$contexte";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:32:"le contexte associé à l'erreur";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:37:"\GestionnaireException::gererErreur()";s:7:" * name";s:11:"gererErreur";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:107:"Gère les erreurs en les convertissant en exceptions (remplace la fonction gestion d'erreurs native de php)";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:107;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:5:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:7:"$niveau";s:8:" * types";a:1:{i:0;s:3:"int";}s:7:" * name";s:5:"param";s:14:" * description";s:21:"le niveau de l'erreur";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:1;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:8:"$message";s:8:" * types";a:1:{i:0;s:6:"string";}s:7:" * name";s:5:"param";s:14:" * description";s:31:"le message associé à l'erreur";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:2;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:8:"$fichier";s:8:" * types";a:1:{i:0;s:6:"string";}s:7:" * name";s:5:"param";s:14:" * description";s:45:"le nom du fichier où l'erreur s'est produite";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:3;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:6:"$ligne";s:8:" * types";a:1:{i:0;s:3:"int";}s:7:" * name";s:5:"param";s:14:" * description";s:36:"la ligne où l'erreur s'est produite";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:4;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:9:"$contexte";s:8:" * types";a:1:{i:0;s:6:"string";}s:7:" * name";s:5:"param";s:14:" * description";s:32:"le contexte associé à l'erreur";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:13:"getExceptions";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:39:"\GestionnaireException::getExceptions()";s:7:" * name";s:13:"getExceptions";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:102:"Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:123;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:5:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:10:"deprecated";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:49:"phpDocumentor\Descriptor\Tag\DeprecatedDescriptor":4:{s:10:" * version";s:0:"";s:7:" * name";s:10:"deprecated";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:3:"see";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:42:"phpDocumentor\Descriptor\Tag\SeeDescriptor":4:{s:12:" * reference";s:25:"\getExceptionsFormatees()";s:7:" * name";s:3:"see";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:45:"phpDocumentor\Descriptor\Tag\ReturnDescriptor":4:{s:8:" * types";a:1:{i:0;s:6:"string";}s:7:" * name";s:6:"return";s:14:" * description";s:46:"les exceptions formatées en texte ou (X)HTML.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:22:"getExceptionsFormatees";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:48:"\GestionnaireException::getExceptionsFormatees()";s:7:" * name";s:22:"getExceptionsFormatees";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:102:"Renvoie les exceptions au format (X)HTML ou bien au format texte suivant le mode d'utilisation de PHP.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:132;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:3:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:45:"phpDocumentor\Descriptor\Tag\ReturnDescriptor":4:{s:8:" * types";a:1:{i:0;s:6:"string";}s:7:" * name";s:6:"return";s:14:" * description";s:46:"les exceptions formatées en texte ou (X)HTML.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:19:"getExceptionsTriees";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:45:"\GestionnaireException::getExceptionsTriees()";s:7:" * name";s:19:"getExceptionsTriees";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:134:"Renvoie le tableau d'objets Exception générées par le script PHP triées du niveau de sévérité le plus élevé au moins élevé.";s:14:" * description";s:324:"Format du tableau :
array{sévérité_1 = array{Exception1, Exception2, Exception3,...}, sévérité_1 =  array{Exception1, Exception2, ...}, ...};
ATTENTION : si vous utilisez cette méthode, c'est à vous de gérer l'affichage des Exceptions. Le gestionnaire d'exception
n'enverra plus rien au navigateur ou à la console.";s:17:" * fileDescriptor";N;s:7:" * line";i:159;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:3:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:45:"phpDocumentor\Descriptor\Tag\ReturnDescriptor":4:{s:8:" * types";a:1:{i:0;s:5:"array";}s:7:" * name";s:6:"return";s:14:" * description";s:35:"le tableau trié d'objet Exception.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:15:"loggerException";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:7:"private";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:2:"$e";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:2:"$e";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:21:"l'exception à logger";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:41:"\GestionnaireException::loggerException()";s:7:" * name";s:15:"loggerException";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:77:"Logue une exception donnée sous une forme lisible si self::logger vaut true.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:176;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:2:"$e";s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:7:" * name";s:5:"param";s:14:" * description";s:21:"l'exception à logger";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:22:"formaterExceptionDebug";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:2:"$e";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:2:"$e";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:48:"\GestionnaireException::formaterExceptionDebug()";s:7:" * name";s:22:"formaterExceptionDebug";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:68:"Formate une exception de type Notice générée par la classe Debug.";s:14:" * description";s:212:"Seul le message est gardé car les autres infos font référence à la classe Debug et non à l'endroit où
le débug est lancée.
TODO : faire en sorte d'afficher le fichier et la ligne où le débug est lancé.";s:17:" * fileDescriptor";N;s:7:" * line";i:191;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:3:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:0:"";s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:7:" * name";s:5:"param";s:14:" * description";s:24:"l'exception à formater.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:20:"formaterExceptionTxt";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:2:"$e";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:2:"$e";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:46:"\GestionnaireException::formaterExceptionTxt()";s:7:" * name";s:20:"formaterExceptionTxt";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:53:"Formate en texte une exception passée en paramètre.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:206;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:3:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:0:"";s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:7:" * name";s:5:"param";s:14:" * description";s:24:"l'exception à formater.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:22:"formaterExceptionXhtml";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:1;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{s:2:"$e";O:43:"phpDocumentor\Descriptor\ArgumentDescriptor":13:{s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:10:" * default";N;s:14:" * byReference";b:0;s:8:" * fqsen";s:0:"";s:7:" * name";s:2:"$e";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:8:" * fqsen";s:48:"\GestionnaireException::formaterExceptionXhtml()";s:7:" * name";s:22:"formaterExceptionXhtml";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:55:"Formate en (X)HTML une exception passée en paramètre.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:223;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:3:{s:5:"since";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\SinceDescriptor":4:{s:10:" * version";s:3:"0.3";s:7:" * name";s:5:"since";s:14:" * description";s:0:"";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:44:"phpDocumentor\Descriptor\Tag\ParamDescriptor":5:{s:15:" * variableName";s:0:"";s:8:" * types";a:1:{i:0;s:10:"\Exception";}s:7:" * name";s:5:"param";s:14:" * description";s:24:"l'exception à formater.";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}s:10:"__destruct";O:41:"phpDocumentor\Descriptor\MethodDescriptor":16:{s:9:" * parent";r:15;s:11:" * abstract";b:0;s:8:" * final";b:0;s:9:" * static";b:0;s:13:" * visibility";s:6:"public";s:12:" * arguments";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:36:"\GestionnaireException::__destruct()";s:7:" * name";s:10:"__destruct";s:12:" * namespace";N;s:10:" * package";s:0:"";s:10:" * summary";s:136:"Lors de la destruction de la classe si des exceptions n'ont pas été affichées, et si le débogage est à true, elles sont
affichées.";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:242;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:6:"return";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:5:"param";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:13:" * usedTraits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:22:"\GestionnaireException";s:7:" * name";s:21:"GestionnaireException";s:12:" * namespace";s:0:"";s:10:" * package";s:9:"Framework";s:10:" * summary";s:33:"Classe de gestion des exceptions.";s:14:" * description";s:19:"C'est un Singleton.";s:17:" * fileDescriptor";r:1;s:7:" * line";i:18;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:8:{s:8:"category";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:" * name";s:8:"category";s:14:" * description";s:7:"PHP 5.2";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:" * name";s:7:"package";s:14:" * description";s:9:"Framework";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:6:"author";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{i:0;O:45:"phpDocumentor\Descriptor\Tag\AuthorDescriptor":3:{s:7:" * name";s:6:"author";s:14:" * description";s:47:"Aurélien PERONNET <aurelien@tela-botanica.org>";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:1;O:45:"phpDocumentor\Descriptor\Tag\AuthorDescriptor":3:{s:7:" * name";s:6:"author";s:14:" * description";s:43:"Jean-Pascal MILCENT <jmp@tela-botanica.org>";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:9:"copyright";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:" * name";s:9:"copyright";s:14:" * description";s:61:"Copyright (c) 2009, Tela Botanica (accueil@tela-botanica.org)";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:7:"license";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{i:0;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:" * name";s:7:"license";s:14:" * description";s:71:"http://www.cecill.info/licences/Licence_CeCILL_V2-fr.txt Licence CECILL";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}i:1;O:38:"phpDocumentor\Descriptor\TagDescriptor":3:{s:7:" * name";s:7:"license";s:14:" * description";s:52:"http://www.gnu.org/licenses/gpl.html Licence GNU-GPL";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:7:"version";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:46:"phpDocumentor\Descriptor\Tag\VersionDescriptor":4:{s:10:" * version";s:0:"";s:7:" * name";s:7:"version";s:14:" * description";s:62:"$Id: GestionnaireException.php 369 2011-10-03 12:47:17Z jpm $$";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:4:"link";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:43:"phpDocumentor\Descriptor\Tag\LinkDescriptor":4:{s:7:" * link";s:15:"/doc/framework/";s:7:" * name";s:4:"link";s:14:" * description";s:15:"/doc/framework/";s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}}s:13:" * interfaces";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:9:" * traits";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:" * markers";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:8:" * fqsen";s:0:"";s:7:" * name";s:25:"GestionnaireException.php";s:12:" * namespace";N;s:10:" * package";s:7:"Default";s:10:" * summary";s:0:"";s:14:" * description";s:0:"";s:17:" * fileDescriptor";N;s:7:" * line";i:0;s:7:" * tags";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:2:{s:7:"package";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}s:10:"subpackage";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:0:{}}}}s:9:" * errors";O:35:"phpDocumentor\Descriptor\Collection":1:{s:8:" * items";a:1:{i:0;O:40:"phpDocumentor\Descriptor\Validator\Error":4:{s:11:" * severity";s:5:"error";s:7:" * code";s:13:"PPC:ERR-50000";s:7:" * line";i:0;s:10:" * context";a:1:{i:0;s:0:"";}}}}}