root/components/codeInstrumentation/CodeInstrumentationReceiver.class.php
| 162 | 177 | ||
|---|---|---|---|
70 | */ | 70 | */ |
71 | protected $objConfiguration; | 71 | protected $objConfiguration; |
72 | 72 | ||
73 | protected $objActualMessage; | ||
74 | |||
73 | /** | 75 | /** |
74 | * Set the code instrumentation receiver configuration | 76 | * Set the code instrumentation receiver configuration |
75 | * | 77 | * |
... | ... | ||
340 | 342 | ||
341 | // append the message // | 343 | // append the message // |
342 | $this->objUmlSequence->addMessage( $objMessage ); | 344 | $this->objUmlSequence->addMessage( $objMessage ); |
345 | $this->objActualMessage = $objMessage; | ||
343 | $this->arrMessages[] = $objMessage; | 346 | $this->arrMessages[] = $objMessage; |
344 | } | 347 | } |
345 | 348 | ||
... | ... | ||
431 | // append the message // | 434 | // append the message // |
432 | $this->objUmlSequence->addMessage( $objMessage ); | 435 | $this->objUmlSequence->addMessage( $objMessage ); |
433 | $objMessage->setTimeEnd( microtime( true ) ); | 436 | $objMessage->setTimeEnd( microtime( true ) ); |
437 | $this->objActualMessage = $objMessage; | ||
434 | } | 438 | } |
435 | return $this; | 439 | return $this; |
436 | } | 440 | } |
... | ... | ||
501 | { | 505 | { |
502 | return $this->getUmlSequenceDiagram(); | 506 | return $this->getUmlSequenceDiagram(); |
503 | } | 507 | } |
508 | |||
509 | /** | ||
510 | * Get the actual actor | ||
511 | * | ||
512 | * | ||
513 | * @return UmlSequenceDiagramActor | ||
514 | */ | ||
515 | public function getActualActor() | ||
516 | { | ||
517 | return current( $this->arrStack ); | ||
518 | } | ||
519 | |||
520 | /** | ||
521 | * Get the actual message | ||
522 | * | ||
523 | * @return UmlSequenceDiagramMessage | ||
524 | */ | ||
525 | public function getActualMessage() | ||
526 | { | ||
527 | return ( $this->objActualMessage ); | ||
528 | } | ||
504 | } | 529 | } |
505 | 530 | ||
506 | ?> | 531 | ?> |
Download diff