1 | <?php |
||
10 | abstract class Command implements \SplObserver |
||
11 | { |
||
12 | /** |
||
13 | * @param \SplSubject $subject |
||
14 | * |
||
15 | * @throws \InvalidArgumentException |
||
16 | */ |
||
17 | 6 | public function update(\SplSubject $subject) |
|
28 | |||
29 | /** |
||
30 | * Overwrite this to change the name for the Command that is displayed in the graph. |
||
31 | * |
||
32 | * @return string |
||
33 | */ |
||
34 | 1 | public function __toString() |
|
38 | } |
||
39 |