src/Koldy/Db/ModelTraits/DeletedAt.php
public function setDeletedAtDateTime(?DateTime $deletedAt): void
    {
        $this->deleted_at = $deletedAt === null ? null : $deletedAt->format('Y-m-d H:i:s');
    }
public function setDeletedAtDateTime(?DateTime $deletedAt): void
    {
        $this->deleted_at = $deletedAt === null ? null : $deletedAt->format('Y-m-d H:i:s');
    }
public function setDeletedAtDateTime ( ? DateTime $ deletedAt ) : void { $ this -> deleted_at = $ deletedAt === null ? null : $ deletedAt -> format ( 'Y-m-d H:i:s' ) ; }
Set the deleted at date time by passing instance of deletedAt

@param DateTime|null $deletedAt
Set the deleted at date time by passing instance of deletedAt