Пример #1
0
 /**
  * Sets the namespace for the next messages
  *
  * @param string namespace the name of the namespace
  * @return $this
  */
 public function of($namespace)
 {
     $this->logger->debug('Setting the namespace', ['namespace' => $namespace]);
     $this->engine->of($namespace);
     return $this;
 }
Пример #2
0
 /**
  * Sets the namespace for the next messages
  *
  * @param string namespace the name of the namespace
  * @return $this
  */
 public function of($namespace)
 {
     $this->engine->of($namespace);
     return $this;
 }