Create SQL delete statement with OOP

Code
<?php

use Laminas\Db\Sql\Delete;
use 
Laminas\Db\Sql\Where;
use 
Laminas\Db\Adapter\Platform\Mysql;

$pdo = new PDO('mysql:dbname=foo;host=127.0.0.1');

$where = new Where();
$where->equalTo('id'1);

$delete = new Delete('table_name');
$delete->where($where);

$plattform = new Mysql($pdo);
echo 
$delete->getSqlString($plattform);
Result
DELETE FROM `table_name` WHERE `id` = '1'
Used Versions
PHP 7.4, Laminas MVC 3.2, Symfony 5.2, Laravel 8.28, PHPUnit 9.5, Doctrine ORM 2.8