@@ 46-53 (lines=8) @@ | ||
43 | * |
|
44 | * @param $event |
|
45 | */ |
|
46 | protected function handle(Event $event) |
|
47 | { |
|
48 | $method = $this->getApplyMethod($event); |
|
49 | if (!method_exists($this, $method)) { |
|
50 | return; |
|
51 | } |
|
52 | $this->$method($event); |
|
53 | } |
|
54 | ||
55 | /** |
|
56 | * @param Event $event |
@@ 68-75 (lines=8) @@ | ||
65 | * |
|
66 | * @param $event |
|
67 | */ |
|
68 | protected function handle(Event $event) |
|
69 | { |
|
70 | $method = $this->getApplyMethod($event); |
|
71 | if (!method_exists($this, $method)) { |
|
72 | return; |
|
73 | } |
|
74 | $this->$method($event); |
|
75 | } |
|
76 | ||
77 | /** |
|
78 | * @param Event $event |