*/ class TransitionEvent extends StateMachineEvent { /** * @var TransitionInterface */ protected $transition; /** * @var bool */ protected $transitionRejected = false; /** * @var StateInterface */ protected $initialState; /** * @var array */ protected $properties; /** * @param StateInterface $initialState * @param TransitionInterface $transition * @param StateMachine $stateMachine * @param array $properties */ public function __construct( StateInterface $initialState, TransitionInterface $transition, StateMachine $stateMachine, array $properties = array() ) { $this->transition = $transition; $this->initialState = $initialState; $this->properties = $properties; if ($transition instanceof PropertiesAwareTransitionInterface) { $this->properties = $transition->resolveProperties($properties); } parent::__construct($stateMachine); } /** * @return TransitionInterface */ public function getTransition() { return $this->transition; } /** * @return bool */ public function isRejected() { return $this->transitionRejected; } public function reject() { $this->transitionRejected = true; } /** * @return StateInterface */ public function getInitialState() { return $this->initialState; } /** * @param string $property * * @return bool */ public function has($property) { return array_key_exists($property, $this->properties); } /** * @param string $property * @param mixed $default * * @return mixed */ public function get($property, $default = null) { return $this->has($property) ? $this->properties[$property] : $default; } /** * @return array */ public function getProperties() { return $this->properties; } } __halt_compiler();----SIGNATURE:----M2Wr9YXFI5EWA/7Mmpap5EVQ+E6Hc2y9uhAdOP6/E5+ItPH4GfWiX4HB6tC6UquSG5+AOpRZSRuyJwE33Sk6LQBE61pScAeN0tdsgylE8uBIFjuuxje4gM8ibQlYahRUPDxoYbW0m50U0v6lgROeWsI7vyF0bJWawLDto2+VAq85iR7xRQeO2noofaHWt88c6AmiHX/AUNjhvMHq3u46KVYF+0I/7/H2bA5lEZUgvaTtKY1WsniUpLVA/7Xvu60T0/789l9Y3pmMdM1JgUcxtabw2ieXCr1QkOkGHT4djr4qcNvgdq08D5qzrDzuDsLFx9n40LDgAl1BpqogrhvTgE9CtGPHltewXEGsVHAQUmX4WP4G27odKQ7ppP0yLn+P48RWsRZg+3oxgfAEn9vdgQRDzQQDZiWeC4vNNjqqfIu6Y0ByW8I/9/RGoyMIs3N/8LfTxhaeGOevygklywSuYsrF53apnL11vgz66GwwmAD9isT3pRkDzan8B9pH8xX0fmil+jJC6tZ+JQGBtrbRmtgK1l4UyEawuu5Zy7V2Q1fU0lBWyyZIJMKbQGjL8oC0j+6btOVTucc8QNOTxm/9pBJIyQH7TMmehRakdHtEGEzEzz1Ytb76RDrn8swBpDodFK4B3JVYE2TWkTC61cTdI1jMDv0IpjF7Q5i+jwAfYwc=----ATTACHMENT:----MzgzMTA3MjE3MDkwNTkwNyAxMzIxMzgyODE3NTkyODkyIDY5ODAwOTY4MTgwMzk2Nzc=