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