classes/Models/Change.php
static private function getChanged(Model $model, $action)
    {
        $changed = $model->getDirty();
        if ($action == 'deleted' || empty($changed)) {
            $changed = null;
        }
        return $changed;
    }
static private function getChanged(Model $model, $action)
    {
        $changed = $model->getDirty();
        if ($action == 'deleted' || empty($changed)) {
            $changed = null;
        }
        return $changed;
    }
static private function getChanged ( Model $ model , $ action ) { $ changed = $ model -> getDirty ( ) ; if ( $ action == 'deleted' || empty ( $ changed ) ) { $ changed = null ; } return $ changed ; }
Get the changes attributes

@param  Model  $model  The model being touched
@param  string $action
@return array|null
Get the changes attributes