/**
  * Read a frame
  *
  * @return \Stomp\Transport\Frame|false
  */
 public function read()
 {
     return $this->state->read();
 }
Exemple #2
-1
 /**
  * @inheritdoc
  */
 protected function setState(IStateful $state, array $options = [])
 {
     $init = null;
     if ($state instanceof StateTemplate) {
         $init = $state->init($options);
     }
     $this->base->setState($state);
     return $init;
 }