1 | <?php |
||
5 | trait ModelCloning |
||
6 | { |
||
7 | /** |
||
8 | * An Array of Fields to Exclude on Clone. |
||
9 | * |
||
10 | * When cloning a Model ceratin data might need to be skipped |
||
11 | * either because it is irrelevant (such as datestamps) or |
||
12 | * because it is primary or unique data in the database. |
||
13 | * |
||
14 | * @return array |
||
15 | */ |
||
16 | public function excludeOnClone() |
||
24 | |||
25 | /** |
||
26 | * |
||
27 | */ |
||
28 | public function unCloneableColumns() |
||
34 | } |
||
35 |