Ejemplo n.º 1
0
 public function basic_publish($msg, $exchange = '', $routingKey = '', $mandatory = false, $immediate = false, $ticket = NULL)
 {
     if ($this->panel) {
         $this->panel->published(get_defined_vars());
         // all args
     }
     parent::basic_publish($msg, $exchange, $routingKey, $mandatory, $immediate, $ticket);
 }
Ejemplo n.º 2
0
 /**
  * @internal
  * @param Diagnostics\Panel $panel
  */
 public function injectPanel(Diagnostics\Panel $panel)
 {
     $this->panel = $panel->register($this);
 }