public function trackTime($column, $time = null)
    {
        $search = [
            'user_id' => $this->id,
        ];

        $attributes = [
            $column => setTime('now'),
        ];

        Timestamp::updateOrCreate($search, $attributes);
    }
public function trackTime($column, $time = null)
    {
        $search = [
            'user_id' => $this->id,
        ];

        $attributes = [
            $column => setTime('now'),
        ];

        Timestamp::updateOrCreate($search, $attributes);
    }
public function trackTime ( $ column , $ time = null ) { $ search = [ 'user_id' => $ this -> id , ] ; $ attributes = [ $ column => setTime ( 'now' ) , ] ; Timestamp :: updateOrCreate ( $ search , $ attributes ) ; }
Track when something important happened.

@param string              $column The column being updated.
@param null|\Carbon\Carbon $time   The time to set the token for.
Track when something important happened .