Conditions | 2 |
Paths | 2 |
Total Lines | 9 |
Code Lines | 4 |
Lines | 0 |
Ratio | 0 % |
Tests | 5 |
CRAP Score | 2 |
Changes | 0 |
1 | <?php |
||
40 | * @return boolean whether the tenant id should be assigned. Defaults to true. |
||
41 | */ |
||
42 | 1 | protected function beforeApplyTenant() |
|
43 | { |
||
44 | 1 | return true; |
|
45 | } |
||
46 | |||
47 | /** |
||
48 | * This method is invoked after assign the attribute tenant id |
||
49 | * You may override this method to do postprocessing after apply tenant id. |
||
56 |