Update namespaces

This commit is contained in:
2024-08-03 20:58:53 -04:00
parent e64ea2709c
commit 3944fab3f1
43 changed files with 422 additions and 232 deletions

View File

@ -0,0 +1,21 @@
<?php
namespace ProVM\Reinforce\Database\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;
}
}