Exemplo n.º 1
0
 public function __construct($message = null, $code = 0, Exception $previous = null)
 {
     parent::__construct($message, $code, $previous);
     if (!isset(self::$httpHandler)) {
         self::setUp();
     }
     $this->buildObj();
 }
Exemplo n.º 2
0
 public function __construct($message, IEtape $depart, IEtape $arrivee)
 {
     parent::__construct($message);
     $this->depart = $depart;
     $this->arrivee = $arrivee;
 }