Beispiel #1
0
 /**
  * Message trace when a message has been initiated by php HTTP interface without domain user.
  *
  * @return Trace
  *
  * @throws Exception
  */
 public static function http()
 {
     $context = new Context();
     if ($context->isCli()) {
         throw new Exception('Not in php HTTP context');
     }
     return new self($context);
 }