*/ 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:----vRn+bUY+pSXpL2KVQGnEOBBD2gl5uvH3ogL05VHwwyy3lmSgUntwMbvRSbya6G7kf/UsZZotNeYhlPlhCnPr7ajYAS5oyZM1kzYOL82ZJhICNOIaiXrU/Df3B8SOiW1k9KBBjnjFWr1trjX1Celrwn2g8nbla1rj/SSkZaUDf8g/Glmwv2d7HYUx2XFLg2s1kNcEK8o/fXoLKsiO0AAaPWS0qUx/EkVx6Rb0Pk2r3CUx4UQ1seDOjtjL8sGnAxT2hvlO2TUpJoOsl53dQhqAtwgW8/M8hSa5lK9IcmpswzOYPvgbov3+6XjT64kN7bCUuS3LYAgz55m4tXrITuwOlCU5jERs+zA1BIDulnDSe37LXsTPl2FnHtk7rh7tRJMaWRjOX8oShm9nCoNMQ8Y45jp0ELImPB5SVUjRJq9MigxnEBPb+7S19qPuwTszQ7+WLTclqfhk2Qa3lL3O78G9IvqwihNQfx9/B2+YdmgUXxSQhbxH0CXBEXpEureo/lRuKIbz11M6DJ7upr/K+BS6/v1vxbgq1VcIKReemkUPDDS0ioLrbBkyE+dKla4CU/UnQClPejNXoyPa2A5W5tRy2AQ8Ys5Np1uBG5dD6BxJ/MyjK9WSbEIIJwdfqpDdwoCwq9ScqZCDuOXGnA5wWl4IlYhSqAhi7cdVx9erNkgJzzo=----ATTACHMENT:----OTY4MjY1NDU0NTE0NjMyMSA4MDcyMzIyOTE3NjgzOTggNjYwNTE4MjU5OTM2MjE5Ng==