Esensi\Model\Traits\SoftDeletingModelTrait::getDates PHP Method

getDates() public method

Overwriting this method here allows the developer to extend the dates using the $dates property without needing to maintain the "deleted_at" column.
public getDates ( ) : array
return array
    public function getDates()
    {
        $defaults = [static::CREATED_AT, static::UPDATED_AT, $this->getDeletedAtColumn()];
        return array_merge($this->dates, $defaults);
    }