1 | <?php |
||
7 | class Observer |
||
8 | { |
||
9 | /** |
||
10 | * Saving event handler. |
||
11 | * |
||
12 | * @param mixed $model |
||
13 | * @return void |
||
14 | */ |
||
15 | public function saving($model) |
||
21 | |||
22 | /** |
||
23 | * Get rid of attributes that are not correct columns on this model's table. |
||
24 | * |
||
25 | * @param CleansAttributes $model |
||
26 | * @return void |
||
27 | */ |
||
28 | protected function cleanAttributes(CleansAttributes $model) |
||
38 | } |
||
39 |