transition = $transition; $this->extra = $extra; } /** * Gets the extra information stored on the transition. * * @return string */ public function getExtra() { return $this->extra; } /** * {@inheritdoc} */ public function id() { return $this->transition->id(); } /** * {@inheritdoc} */ public function label() { return $this->transition->label(); } /** * {@inheritdoc} */ public function from() { return $this->transition->from(); } /** * {@inheritdoc} */ public function to() { return $this->transition->to(); } /** * {@inheritdoc} */ public function weight() { return $this->transition->weight(); } }