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

@param DateTime $updatedAt
Set the updated at date time by passing instance of updatedAt