Total Complexity | 2 |
Total Lines | 32 |
Duplicated Lines | 0 % |
Changes | 1 | ||
Bugs | 0 | Features | 0 |
1 | <?php |
||
9 | class TrackActionAction extends AbstractAction |
||
10 | { |
||
11 | public $action; |
||
12 | public $model; |
||
13 | public $model_changes; |
||
14 | |||
15 | /** |
||
16 | * Track a user's action. |
||
17 | * |
||
18 | * @param string $action |
||
19 | * @param Model $model |
||
20 | * @param array $model_changes |
||
21 | */ |
||
22 | public function __construct(string $action, Model $model, array $model_changes) |
||
27 | } |
||
28 | |||
29 | /** |
||
30 | * Track a user's activity/actions. |
||
31 | * |
||
32 | * @return void |
||
33 | */ |
||
34 | public function execute() |
||
44 |