| 1 | <?php namespace Arcanedev\Support\Bases; |
||
| 12 | abstract class Model extends Eloquent |
||
| 13 | { |
||
| 14 | /* ------------------------------------------------------------------------------------------------ |
||
| 15 | | Traits |
||
| 16 | | ------------------------------------------------------------------------------------------------ |
||
| 17 | */ |
||
| 18 | use PrefixedModel; |
||
| 19 | |||
| 20 | /* ------------------------------------------------------------------------------------------------ |
||
| 21 | | Other Functions |
||
| 22 | | ------------------------------------------------------------------------------------------------ |
||
| 23 | */ |
||
| 24 | /** |
||
| 25 | * Get the attributes that have been changed since last sync. |
||
| 26 | * |
||
| 27 | * @return array |
||
| 28 | */ |
||
| 29 | public function getDirty() |
||
| 49 | |||
| 50 | /** |
||
| 51 | * Get the casted original attributes. |
||
| 52 | * |
||
| 53 | * @return array |
||
| 54 | */ |
||
| 55 | protected function getCastedOriginal() |
||
| 65 | } |
||
| 66 |