Update namespaces

This commit is contained in:
2025-09-29 16:40:43 -03:00
parent bc3421942f
commit f07ad79e75
66 changed files with 509 additions and 274 deletions

View File

@ -0,0 +1,21 @@
<?php
namespace Database\Reinforce\Query;
trait hasTable
{
protected string $table;
public function getTable(): string
{
return $this->table;
}
public function setTable(string $table, ?string $alias = null): self
{
if ($alias !== null) {
$table = "{$table} '{$alias}'";
}
$this->table = $table;
return $this;
}
}