| Total Complexity | 6 |
| Total Lines | 28 |
| Duplicated Lines | 0 % |
| Coverage | 100% |
| Changes | 0 | ||
| 1 | <?php |
||
| 5 | class Action extends Event |
||
| 6 | { |
||
| 7 | /** |
||
| 8 | * Runs an action. |
||
| 9 | * |
||
| 10 | * When an action is fired, all listeners are run in the order supplied when adding them. |
||
| 11 | * |
||
| 12 | * @param string $action Name of action. |
||
| 13 | * @param array $args Arguments passed to the filter. |
||
| 14 | * |
||
| 15 | * @return void |
||
| 16 | */ |
||
| 17 | 5 | public function fire($action, $args) |
|
| 38 |